summaryrefslogtreecommitdiff
path: root/src/user/test
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-05-17 11:27:59 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2012-05-17 11:27:59 +0200
commit1c7c106b06b6a88502801e699ef99e72b7c625cd (patch)
tree5708a229b0d66e8eb82a953861e017915f8176b6 /src/user/test
parent5bc8549a8d7f5c9644f878fe3ca55761663a2fd0 (diff)
downloadTCE-1c7c106b06b6a88502801e699ef99e72b7c625cd.tar.gz
TCE-1c7c106b06b6a88502801e699ef99e72b7c625cd.zip
Fixed some nasty bugs.
Diffstat (limited to 'src/user/test')
-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);
}