From 49cd825f2815c9e8f775c81d471864b709065155 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Duje=20Mihanovi=C4=87?= Date: Tue, 22 Aug 2023 23:07:19 +0200 Subject: [PATCH] Makefile: Update QEMU arguments to more closely match i686 hardware --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cc92307..502430a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ export CROSS_COMPILE = i686-elf- export AS = yasm export CC = gcc -export QEMU = qemu-system-i386 -monitor stdio +export QEMU = qemu-system-i386 -monitor stdio -cpu pentium2 export GIT_REV = $(shell git describe --long HEAD) export REAL_CC = $(CROSS_COMPILE)$(CC) export CFLAGS @@ -12,9 +12,9 @@ MAKEFLAGS += -rR default: kernel/kernel.elf bootloader all: default boot/x86/disk.img run: all - $(QEMU) boot/x86/disk.img + $(QEMU) -drive file=boot/x86/disk.img,format=raw,throttling.iops-total=100 debug: all - $(QEMU) -s -S boot/x86/disk.img + $(QEMU) -s -S -drive file=boot/x86/disk.img,format=raw,throttling.iops-total=100 kernel/kernel.elf: $(MAKE) -C kernel -- 2.39.2