feat(kernel): add int 0x80 syscall dispatch table
This commit is contained in:
1 parent
afd0649188
commit
8e03bfc320
2 files changed
+148
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#ifndef FROSTBYTE_SYSCALL_H
|
||||
#define FROSTBYTE_SYSCALL_H
|
||||
|
||||
#define sysExit 0
|
||||
#define sysWrite 1
|
||||
#define sysRead 2
|
||||
#define sysYield 3
|
||||
#define sysGetpid 4
|
||||
#define sysSbrk 5
|
||||
#define sysSleep 6
|
||||
#define sysOpen 7
|
||||
#define sysClose 8
|
||||
#define sysLseek 9
|
||||
#define sysStat 10
|
||||
#define sysGetdents 11
|
||||
#define sysMkdir 12
|
||||
#define sysUnlink 13
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user