Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 703 Bytes

README.md

File metadata and controls

45 lines (31 loc) · 703 Bytes

Kernel From Scratch - GDT & STACK

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

Getting started

Prerequisites

To run this project locally, you must have installed:

  • binutils
  • nasm
  • gcc
  • grub-common
  • make
  • xorriso

Installation

  1. Clone this repository
git clone https://github.com/louisabricot/KFS2.git
  1. Build the ISO
cd KFS2
make 
  1. (42 only) You'll need a cross-compiler

  2. Run it with qemu

make run