syscall: imeplement basic file IO syscalls
also fix a bug where the RAX register would be restored to its initial state instead of carrying the syscall return value
This commit is contained in:
parent
bd9786cbe0
commit
0297f4a34c
9 changed files with 209 additions and 18 deletions
2
Makefile
2
Makefile
|
|
@ -93,7 +93,7 @@ uprg:
|
|||
# Remove object files and the final executable.
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@rm -rf $(KERNEL) $(OBJ) $(HEADER_DEPS)
|
||||
@rm -rf $(KERNEL) $(OBJ) $(HEADER_DEPS) bin
|
||||
@echo " CLEAN kernel"
|
||||
@make --no-print-directory -C usr.bin clean
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue