Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use internal 16-bit stack for added safety.
  • Loading branch information
Michael Brown committed Feb 11, 2008
1 parent 428c634 commit f8a0b5f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/arch/i386/prefix/pxeprefix.S
Expand Up @@ -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
Expand Down

0 comments on commit f8a0b5f

Please sign in to comment.