From ec50fa00c7da2649be3600bb7476da6bd8385ce5 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 24 Mar 2009 16:08:10 +0000 Subject: [PATCH] don't execute hlt in real mode. workaround for getting minix under qemu kvm. Ameya, ape800 at few.vu.nl. --- boot/boothead.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boot/boothead.s b/boot/boothead.s index b79689c3b..5a3bf7d35 100755 --- a/boot/boothead.s +++ b/boot/boothead.s @@ -640,7 +640,7 @@ _getch: test ax, ax jnz gotch getch: - hlt ! Play dead until interrupted (see pause()) +! hlt ! Play dead until interrupted (see pause()) movb ah, #0x01 ! Keyboard status int 0x16 jz 0f ! Nothing typed @@ -741,7 +741,7 @@ nulch: ret ! power, or tells an x86 emulator that nothing is happening right now. .define _pause _pause: - hlt +! hlt ret ! void set_mode(unsigned mode); -- 2.44.0