From 1c7c106b06b6a88502801e699ef99e72b7c625cd Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Thu, 17 May 2012 11:27:59 +0200 Subject: Fixed some nasty bugs. --- src/user/test/main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/user/test') diff --git a/src/user/test/main.c b/src/user/test/main.c index 945c530..ec14c21 100644 --- a/src/user/test/main.c +++ b/src/user/test/main.c @@ -28,12 +28,14 @@ void thread_cascade(void* d) { } int main() { - printk("Hi world from test module !\n"); + printk("(test app) malloc(42) = "); + printk_hex((uint32_t)malloc(42)); + printk("\n"); - printk(" -> Creating thread cascade (total 2**8 = 256 threads)\n"); + printk("(test app) Creating thread cascade (total 2**8 = 256 threads)\n"); thread_new(thread_cascade, (void*)8); - printk(" -> Main thread now sleeping... forever...\n"); + printk("(test app) Main thread now sleeping... forever...\n"); while (1) { thread_sleep(1000); } -- cgit v1.2.3