base working kernel with a gdt that doesn't restart emulator(no idea why this works yet)

This commit is contained in:
shockrah
2019-10-14 02:06:50 -07:00
parent 535f88a908
commit a417a74731
7 changed files with 29 additions and 14 deletions

View File

@@ -3,7 +3,7 @@ ASM=nasm
LINK=ld
ISO=genisoimage
OBJECTS=gdt_seg.o gdt.o loader.o serial.o framebuffer.o ports.o stlio.o tests.o
OBJECTS=kernel.o gdt_seg.o gdt.o loader.o serial.o framebuffer.o ports.o stlio.o tests.o
AFLAGS=-f elf32
CFLAGS=-m32 -nostdlib -nostdinc -fno-builtin -fno-stack-protector -nostartfiles \
-nodefaultlibs -Wall -Wextra -Werror -c