diff options
Diffstat (limited to 'usrbin/main.c')
| -rw-r--r-- | usrbin/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usrbin/main.c b/usrbin/main.c index aa48450..83dcd90 100644 --- a/usrbin/main.c +++ b/usrbin/main.c @@ -1,12 +1,15 @@ #include <stdint.h> #include <stdio.h> #include <time.h> +#include <unistd.h> void main(void) { + int x = 0; + printf("We did it ma!\n"); while(1) { sleep(1); - printf("1000ms tick!\n"); + printf("0x%04x:0x%08x: 0x%08x\n", getpid(), (uint32_t) getpdir(), x++); } } |
