mirror of https://github.com/flysand7/ciabatta.git
11 lines
233 B
C
11 lines
233 B
C
|
|
||
|
#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);
|
||
|
}
|