This is the second step in the Kernel From Scratch journey! It involves creating a Global Descriptor Table (GDT) and integrating it to our kernel.
The GDT must be set at address 0x800 and contain:
- a kernel code, data and stack
- a user code, data and stack
To run this project locally, you must have installed:
- binutils
- nasm
- gcc
- grub-common
- make
- xorriso
- Clone this repository
git clone https://github.com/louisabricot/KFS2.git
- Build the ISO
cd KFS2
make
-
(42 only) You'll need a cross-compiler
-
Run it with qemu
make run