mirror of https://github.com/ipxe/ipxe.git
[nbiprefix] Set up real-mode stack before jumping to .text16
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/6/merge
parent
b33082a52b
commit
c7694acb51
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue