diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2018-11-29 20:43:06 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2018-11-29 20:43:06 -0500 |
commit | 563c92e6d08c305cb9f7693818ecbe2a2dec527b (patch) | |
tree | 5b8a6dcdad1daa64dc3a73e3dc9385b85b2c9200 /initrd/init.c | |
parent | 22615096dee294f63c6940c17f2a448da51d9197 (diff) |
hello world from initrd
Diffstat (limited to 'initrd/init.c')
-rw-r--r-- | initrd/init.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/initrd/init.c b/initrd/init.c new file mode 100644 index 0000000..5ff4ae5 --- /dev/null +++ b/initrd/init.c @@ -0,0 +1,14 @@ +/** + * @file test.c + * Basic userland code to be loaded by stmos for program load testing. + */ + +#include <stdio.h> + +int main(void) +{ + printf("Hello, world!\n"); + while (1); + return 0; +} + |