summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-11-02 11:37:13 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-11-02 11:37:13 +0100
commit5cecfeb5b23f78274afdeae97da3b3cd6772bf97 (patch)
tree1ab1c014452e8d7b8d4912f1d0a8f4d54a72a72a /kernel
parent8da86356d9fc6180bc325c03aed4e20fb03be8ba (diff)
downloados_skeleton-5cecfeb5b23f78274afdeae97da3b3cd6772bf97.zip
os_skeleton-5cecfeb5b23f78274afdeae97da3b3cd6772bf97.tar.gz
remove ugly trailing spaces
Diffstat (limited to 'kernel')
-rw-r--r--kernel/kernel.c2
-rw-r--r--kernel/kernel.ld4
-rw-r--r--kernel/makefile6
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