ciabatta/src/loader/loader.c

11 lines
233 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"
void loader_entry(u64 *sp, Elf64_Dyn *dynv, u64 *aux) {
char str[] = "Hello world??\n";
_syscall_write(STDOUT_FILENO, str, sizeof str);
_syscall_exit(0);
}