mirror of
https://github.com/xcat2/xNBA.git
synced 2025-06-29 17:35:35 +00: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 */
|
||||
call install
|
||||
|
||||
/* Set up real-mode stack */
|
||||
movw %bx, %ss
|
||||
movw $_estack16, %sp
|
||||
|
||||
/* Jump to .text16 segment */
|
||||
pushw %ax
|
||||
pushw $1f
|
||||
|
Reference in New Issue
Block a user