aboutsummaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
Diffstat (limited to 'boot')
-rw-r--r--boot/Makefile2
-rw-r--r--boot/load.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/boot/Makefile b/boot/Makefile
index 714ec22..7ef6cab 100644
--- a/boot/Makefile
+++ b/boot/Makefile
@@ -5,7 +5,7 @@ LD = ccache ../cross/opt/bin/i686-elf-ld
OC = ccache ../cross/opt/bin/i686-elf-objcopy
AS = ccache nasm
-CFLAGS = $(CFLAGS_DEFAULT) -ffreestanding -fno-stack-protector -fno-sanitize=undefined
+CFLAGS = $(CFLAGS_DEFAULT) -ffreestanding -fno-stack-protector -fno-sanitize=undefined -Ofast
ASFLAGS = -f elf32
diff --git a/boot/load.c b/boot/load.c
index 34c6af8..4a6f3db 100644
--- a/boot/load.c
+++ b/boot/load.c
@@ -336,7 +336,7 @@ void *read_inode(struct inode *in)
if (!num_blocks)
return 0;
- void *buf = (void *)0x50000;
+ void *buf = (void *)0x9000;
//assert(buf != 0);
int indirect;