mirror of https://github.com/ipxe/ipxe.git
Use internal 16-bit stack for added safety.
parent
428c6342bc
commit
f8a0b5f682
|
@ -700,6 +700,10 @@ run_etherboot:
|
||||||
/* Install Etherboot */
|
/* Install Etherboot */
|
||||||
call install
|
call install
|
||||||
|
|
||||||
|
/* Set up real-mode stack */
|
||||||
|
movw %bx, %ss
|
||||||
|
movw $_estack16, %sp
|
||||||
|
|
||||||
#ifdef PXELOADER_KEEP_UNDI
|
#ifdef PXELOADER_KEEP_UNDI
|
||||||
/* Copy our undi_device structure to the preloaded_undi variable */
|
/* Copy our undi_device structure to the preloaded_undi variable */
|
||||||
movw %bx, %es
|
movw %bx, %es
|
||||||
|
|
Loading…
Reference in New Issue