diff options
author | Tom Cosgrove <tom@cvs.openbsd.org> | 2004-03-21 21:22:11 +0000 |
---|---|---|
committer | Tom Cosgrove <tom@cvs.openbsd.org> | 2004-03-21 21:22:11 +0000 |
commit | 8c6e84988022919eccc722f39a6b132f873506d7 (patch) | |
tree | 43abc2c3d53152f187fd35d402b49c17ca04bfba /sys/arch/amd64/stand/mbr | |
parent | 04a331e2ad208632e8b42d79f5e95f86e9eb8b5a (diff) |
Bring in sync with i386 and enable interrupts before halt when we error
out. Allows use of Ctl-Alt-Del to reboot in case of failure.
ok weingart@, deraadt@
Diffstat (limited to 'sys/arch/amd64/stand/mbr')
-rw-r--r-- | sys/arch/amd64/stand/mbr/mbr.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/stand/mbr/mbr.S b/sys/arch/amd64/stand/mbr/mbr.S index b7553ead71a..384fab97ec4 100644 --- a/sys/arch/amd64/stand/mbr/mbr.S +++ b/sys/arch/amd64/stand/mbr/mbr.S @@ -1,4 +1,4 @@ -/* $OpenBSD: mbr.S,v 1.1 2004/02/03 12:09:47 mickey Exp $ */ +/* $OpenBSD: mbr.S,v 1.2 2004/03/21 21:22:10 tom Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff and Tobias Weingartner @@ -57,7 +57,7 @@ * * We use a long jmp to normalise our address to seg:offset 07A0:0000 * We set the stack to start at 07C0:FFFC (grows down on i386) - * We load the partition boot record (PBR) /boot at seg:offset 4000:0000 + * The partition boot record (PBR) loads /boot at seg:offset 4000:0000 */ #define BOOTSEG 0x7c0 /* segment where we are loaded */ #define BOOTRELOCSEG 0x7a0 /* segment where we relocate to */ @@ -248,7 +248,7 @@ err_stop: call Lmessage stay_stopped: - cli + sti /* Ensure Ctl-Alt-Del will work */ hlt /* Just to make sure */ jmp stay_stopped |