/Pintos

Primary LanguageHTML

Pintos

Pintos is a simple operating system that is developed at Stanford University.

Phase one: Threads

➢ Implemented a function to make threads sleep for number of ticks.
➢ Implemented a timer interrupt function to wake up threads.
➢ Implemented a donation functionality for threads to donate their priority to the threads they are waiting on.
➢ Implemented a multilevel feedback queue scheduler to reduce the average response time for running jobs on system.\

Phase two: User Programs

➢ Parsed a filename for a user program (a command line argument) to setup the stack for this user program.
➢ Implemented the support for user programs to request system call functions (kernel functions), System calls including tasks such as file I/O,opening a user program, exiting a user program, and waiting for a user program.