Shivam2501 / CosmOS

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

Tasks #17

Closed Shivam2501 closed 7 years ago

Shivam2501 commented 7 years ago

Programs execute to completion, so you need not write a scheduler or deal with the timer chip yet, but you do need to be able to squash programs if they generate exceptions, returning control to the shell in such cases. As in Linux, the tasks will share common mappings for kernel pages, in this case a single, global 4 MB page. Unlike Linux, we will provide you with set physical addresses for the images of the two tasks, and will stipulate that they require no more than 4 MB each, so you need only allocate a single page for each task’s user-level memory. See Appendix C for more details.