mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 17:12:40 +03:00
[nbiprefix] Set up real-mode stack before jumping to .text16
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -54,6 +54,10 @@ _nbi_start:
|
|||||||
/* Install iPXE */
|
/* Install iPXE */
|
||||||
call install
|
call install
|
||||||
|
|
||||||
|
/* Set up real-mode stack */
|
||||||
|
movw %bx, %ss
|
||||||
|
movw $_estack16, %sp
|
||||||
|
|
||||||
/* Jump to .text16 segment */
|
/* Jump to .text16 segment */
|
||||||
pushw %ax
|
pushw %ax
|
||||||
pushw $1f
|
pushw $1f
|
||||||
|
|||||||
Reference in New Issue
Block a user