Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[nbiprefix] Set up real-mode stack before jumping to .text16
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Mar 8, 2013
1 parent b33082a commit c7694ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/arch/i386/prefix/nbiprefix.S
Expand Up @@ -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
Expand Down

0 comments on commit c7694ac

Please sign in to comment.