ciabatta/src/loader/loader.c

11 lines
227 B
C
Raw Normal View History

2023-08-03 13:16:15 +00:00
#include <cia-def.h>
#include <bin/elf.h>
#include "syscall.c"
2023-08-03 17:17:41 +00:00
void loader_entry(u64 *sp, u64 *dynv, u64 *aux) {
2023-08-03 13:16:15 +00:00
char str[] = "Hello world??\n";
_syscall_write(STDOUT_FILENO, str, sizeof str);
_syscall_exit(0);
}