diff options
Diffstat (limited to 'arch/riscv/init/hello.c')
| -rw-r--r-- | arch/riscv/init/hello.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/riscv/init/hello.c b/arch/riscv/init/hello.c new file mode 100644 index 0000000..d4e5892 --- /dev/null +++ b/arch/riscv/init/hello.c @@ -0,0 +1,8 @@ +#include <stdio.h> +#include <stdlib.h> + +int main(int argc, char *argv[]) +{ + printf("Hello, world!\n"); + exit(0); +} |
