summaryrefslogtreecommitdiff
path: root/boot/fake_syscall.h
diff options
context:
space:
mode:
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);
+