summaryrefslogtreecommitdiffstats
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
parent8da86356d9fc6180bc325c03aed4e20fb03be8ba (diff)
downloados_skeleton-5cecfeb5b23f78274afdeae97da3b3cd6772bf97.zip
os_skeleton-5cecfeb5b23f78274afdeae97da3b3cd6772bf97.tar.gz
remove ugly trailing spaces
-rw-r--r--kernel/kernel.c2
-rw-r--r--kernel/kernel.ld4
-rw-r--r--kernel/makefile6
-rw-r--r--makefile5
4 files changed, 8 insertions, 9 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
diff --git a/makefile b/makefile
index 24f21aa..46dc4ee 100644
--- a/makefile
+++ b/makefile
@@ -1,6 +1,6 @@
all: run
-run: create_iso
+run: create_iso
qemu-system-i386 -hda mini_kernel/mini_kernel.iso
create_iso: cpy
@@ -9,7 +9,6 @@ create_iso: cpy
cpy:
cp grub/grub.cfg mini_kernel/
cp kernel/kernel.elf mini_kernel/
-
+
clean:
rm mini_kernel/*.iso mini_kernel/*.cfg mini_kernel/*.elf
- \ No newline at end of file