Shivam2501 / CosmOS

x86 based Operating System
Apache License 2.0
0 stars 0 forks source link

Support System Calls #16

Closed Shivam2501 closed 8 years ago

Shivam2501 commented 8 years ago

Eventually, all ten system calls must be supported via a common IDT entry, so you will have to set up some generic assembly linkage along the lines of that used in Linux, including syscall value checking, register save and restore, and a jump table to C functions that implement the system calls themselves. The details of each call are provided in Appendix B. For this checkpoint, you only need to support the system calls necessary to run testprint from shell: execute,halt, and open/close/read/write for the terminal and filesystem.