mirror of
https://github.com/ipxe/ipxe
synced 2025-12-15 17:12:54 +03:00
Use internal 16-bit stack for added safety.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user