mirror of
https://github.com/ipxe/ipxe
synced 2026-03-16 03:02:07 +03:00
[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:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user