Added GDT.

Unfortunately I can't do it in C, but whatever.
This commit is contained in:
Nicolás Ortega Froysa
2018-03-14 17:10:51 +01:00
parent ea6b0f69d2
commit 9703f2484c
4 changed files with 85 additions and 2 deletions

View File

@ -20,7 +20,7 @@ ARCH=$(shell echo $(TARGET) | sed s/i.86/x86/)
CROSSFLAGS=--target=$(TARGET)-pc-none-elf -march=$(TARGET)
# Assembly options
AS=nasm
AFLAGS=-felf32
AFLAGS=-felf32 -Isrc/kernel/arch/$(ARCH)/ -Isrc/
# C options
CC=clang
CFLAGS?=-O0 -g