commit | 64228696f6f4f5119f75521601cbbca4249f8bfa | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Tue Mar 16 08:19:23 2021 -0700 |
committer | swissChili <swisschili@fastmail.com> | Tue Mar 16 08:19:23 2021 -0700 |
tree | e436609f044a7c330781e584f860ebfc169b7a47 | |
parent | 04a856e3d1022ad63fcb6852d1422847a1d70422 [diff] [blame] |
Add syscall stub
diff --git a/src/kernel/syscall.h b/src/kernel/syscall.h new file mode 100644 index 0000000..c926ff1 --- /dev/null +++ b/src/kernel/syscall.h
@@ -0,0 +1,8 @@ +#pragma once + +#include "registers.h" + +#define SYSCALL_INT 0x80 // copy linux :) + +void do_syscall(struct registers *regs); +void init_syscall();