From 6957948f3af47f5b57770ac1692843bba768c285 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sun, 28 Jan 2024 19:22:09 -0500 Subject: memory changes --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 78d922a..cc8a534 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ CC=cc LD=ld CFLAGS=-std=c2x -ffreestanding -fno-stack-protector -g -Wall -Wextra -pedantic -lgcc -isystem $(INCLUDE_DIR) - +CFLAGS+= -DPAGE_SIZE=4096 C_SRC=$(shell find $(SRC_DIR) -type f -name "*.c") C_OBJ=$(patsubst %.c,$(BUILD_DIR)/%.o,$(C_SRC)) @@ -46,5 +46,5 @@ $(BUILD_DIR)/$(ISO_NAME): $(BUILD_DIR)/$(K_BIN_NAME) grub.cfg cp $(BUILD_DIR)/$(K_BIN_NAME) $(BUILD_DIR)/iso/boot grub-mkrescue -o $(BUILD_DIR)/$(ISO_NAME) $(BUILD_DIR)/iso -run: +run: all qemu-system-x86_64 $(BUILD_DIR)/$(ISO_NAME) -serial stdio -- cgit v1.2.3-freya