mirror of https://github.com/ipxe/ipxe.git
[prefix] Halt system without burning CPU if we cannot access the payload
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/27/merge
parent
bfe9f06f9b
commit
9d21e13522
|
@ -748,7 +748,10 @@ a20_death_message:
|
||||||
call print_hex_dword
|
call print_hex_dword
|
||||||
movw $payload_death_message, %si
|
movw $payload_death_message, %si
|
||||||
call print_message
|
call print_message
|
||||||
2: jmp 2b
|
2: /* Halt system */
|
||||||
|
cli
|
||||||
|
hlt
|
||||||
|
jmp 2b
|
||||||
.section ".prefix.data", "aw", @progbits
|
.section ".prefix.data", "aw", @progbits
|
||||||
payload_death_message:
|
payload_death_message:
|
||||||
.asciz "\nPayload inaccessible - cannot continue\n"
|
.asciz "\nPayload inaccessible - cannot continue\n"
|
||||||
|
|
Loading…
Reference in New Issue