diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/kernel.c | 2 | ||||
-rw-r--r-- | kernel/kernel.ld | 4 | ||||
-rw-r--r-- | kernel/makefile | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/kernel/kernel.c b/kernel/kernel.c index d01eada..c084dd6 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -4,7 +4,7 @@ void mainKernel(){ #ifdef TEST // MODE TEST - smiley(); + smiley(); #else //MODE NORMAL diff --git a/kernel/kernel.ld b/kernel/kernel.ld index da9e019..5a4566f 100644 --- a/kernel/kernel.ld +++ b/kernel/kernel.ld @@ -15,12 +15,12 @@ SECTIONS { .text ALIGN(4K) : /* code */ { - *(.text*) + *(.text*) } .rodata ALIGN(4K) : /* read-only data */ { - *(.rodata*) + *(.rodata*) } .data ALIGN(4K) : /* initialized data */ diff --git a/kernel/makefile b/kernel/makefile index 0173172..c579016 100644 --- a/kernel/makefile +++ b/kernel/makefile @@ -11,14 +11,14 @@ kernel.o: kernel.c kernel_asm.o kernel_asm.o: kernel_asm.s nasm -f elf32 $< -bootloader.o: bootloader.s +bootloader.o: bootloader.s nasm -f elf32 bootloader.s -gdt.o: gdt.c gdt.h +gdt.o: gdt.c gdt.h gcc -std=gnu99 -m32 -fno-builtin -ffreestanding -Wall -Wextra -c gdt.c gdt_asm.o: gdt_asm.s nasm -f elf32 $< clean: - rm -f *.o
\ No newline at end of file + rm -f *.o |