Implement common command buffer for the shell and os

This commit is contained in:
2023-01-31 02:38:48 +00:00
parent 68cfb39f8d
commit d16177c36d
13 changed files with 285 additions and 234 deletions
+2
View File
@@ -1,3 +1,4 @@
; /usr/include/asm/unistd_32.h
SYS_EXIT = 1
SYS_READ = 3
SYS_WRITE = 4
@@ -5,6 +6,7 @@ SYS_OPEN = 5
SYS_CLOSE = 6
SYS_PAUSE = 29
SYS_LLSEEK = 140
SYS_FUTEX = 240
SEEK_SET = 0
SEEK_CUR = 1