yitaom2 / OS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OS

This is a practice ground for building an os from scratch. Mainly following reference 1's tutorial. Reference 1's tutorial has 24 chapters, and chapter 1-17 are based on reference 2. Through out the tutorial here are some small modifications needed.

(1) chapter 4: boot_sect_stack.asm -> line 36: data is random not because it is poped, but never initialized.

(2) chapter 11: gcc -> if you run into problem compiling "../gcc-x.x.x/configure*", try "" and recompile (unable to regenerate the error right now, if you run into this problem google it, one additional command is needed)

(3) chapter 18: if you have multiple define problems during make, cpu/idt.h -> put static before idt_reg & idt's declaration

reference:

About


Languages

Language:C 36.3%Language:C++ 35.6%Language:Assembly 23.7%Language:Makefile 4.3%