david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[prefix] Halt system without burning CPU if we cannot access the payload

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2014-08-26 14:46:14 +01:00
parent bfe9f06f9b
commit 9d21e13522
1 changed files with 4 additions and 1 deletions

View File

@ -748,7 +748,10 @@ a20_death_message:
call print_hex_dword
movw $payload_death_message, %si
call print_message
2: jmp 2b
2: /* Halt system */
cli
hlt
jmp 2b
.section ".prefix.data", "aw", @progbits
payload_death_message:
.asciz "\nPayload inaccessible - cannot continue\n"