From b74ef85cce1ceb5840e9f3bdc43558b75740b83b Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 27 Mar 2022 16:38:14 +0200 Subject: kernel/vfs: partial ATA drive support --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bce95f6..3d913d4 100644 --- a/Makefile +++ b/Makefile @@ -22,13 +22,12 @@ endef all: out/boot.iso check boot: all out/hdd - qemu-system-i386 -cdrom out/boot.iso $(QFLAGS) -serial stdio \ - -drive file=out/hdd,format=raw,media=disk + qemu-system-i386 -drive file=out/boot.iso,format=raw,media=disk $(QFLAGS) -serial stdio test: all @# pipes for the serial @mkfifo out/qemu.in out/qemu.out 2> /dev/null || true - qemu-system-i386 -cdrom out/boot.iso $(QFLAGS) -serial pipe:out/qemu & + qemu-system-i386 -drive file=out/boot.iso,format=raw,media=disk $(QFLAGS) -serial pipe:out/qemu & @# for some reason the first sent character doesn't go through to the shell @# the empty echo takes care of that, so the next echos will work just fine @echo > out/qemu.in -- cgit v1.2.3