summaryrefslogtreecommitdiff
path: root/src/user/test/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/test/main.c')
-rw-r--r--src/user/test/main.c8
1 files changed, 5 insertions, 3 deletions
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);
}