A tiny OS that used for course OSDI in National Chiao Tung University, Computer Science Dept.
This OS only supports x86
In this lab, you will learn about interrupt and segmentation mechanism in x86.
We provided you with keyboard handler, timer handler, and simple VGA driver.
You can leverage grep to find out where to fill up to finish this lab.
$ grep -R TODO .
To run this kernel
$ make
$ qemu -hda kernel.img -monitor stdio
- Modify
boot/boot.Sto setup GDT - Modify
kernel/trap.candkernel/trap_entry.Sto setup IDT for keyboard and timer - Modify
kernel/main.cto uncomment the setup process - Modify
kernel/shell.cto supportkerninfoandchgcolor
After this lab, you should know about how interrupt works and the working flow of GDT & IDT
This is forked and modified from MIT's Xv6