summaryrefslogtreecommitdiff
path: root/boot/fake_syscall.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2025-02-02 15:20:52 +0000
committerAda Christine <adachristine18@gmail.com>2025-02-02 15:20:52 +0000
commit9bc0738101979b626233ee226ece3cc8cae053ec (patch)
tree33f608f59a3cfc062db0363c208f3b0ea05c62e3 /boot/fake_syscall.h
parent3d806c9e2fcb6226915982b6514919a3b9dac4dc (diff)
full flow implemented
Diffstat (limited to 'boot/fake_syscall.h')
-rw-r--r--boot/fake_syscall.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/boot/fake_syscall.h b/boot/fake_syscall.h
new file mode 100644
index 0000000..f3da647
--- /dev/null
+++ b/boot/fake_syscall.h
@@ -0,0 +1,8 @@
+#include <stdint.h>
+#include "kjarna.h"
+
+typedef uint64_t syscall_delegate_parameters[6];
+typedef int64_t (syscall_delegate)(syscall_delegate_parameters params);
+
+int64_t fake_syscall_start(struct kjarna_boot_image *image);
+