david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Use internal 16-bit stack for added safety.

This commit is contained in:
Michael Brown 2008-02-11 15:06:26 +00:00
parent 428c6342bc
commit f8a0b5f682
1 changed files with 4 additions and 0 deletions

View File

@ -700,6 +700,10 @@ run_etherboot:
/* Install Etherboot */
call install
/* Set up real-mode stack */
movw %bx, %ss
movw $_estack16, %sp
#ifdef PXELOADER_KEEP_UNDI
/* Copy our undi_device structure to the preloaded_undi variable */
movw %bx, %es