summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/interface
diff options
context:
space:
mode:
authorMichael Brown2006-12-12 20:07:18 +0100
committerMichael Brown2006-12-12 20:07:18 +0100
commit8a45f619a91851a38bcc7f569f0c8ccad7b62746 (patch)
tree6d93980552444684fefc560004272387c8b9e29e /src/arch/i386/interface
parentAutomatically select between the "10" and "16" variants of command set, (diff)
downloadipxe-8a45f619a91851a38bcc7f569f0c8ccad7b62746.tar.gz
ipxe-8a45f619a91851a38bcc7f569f0c8ccad7b62746.tar.xz
ipxe-8a45f619a91851a38bcc7f569f0c8ccad7b62746.zip
Fix building on gas versions that don't auto-insert addr32 prefixes
Diffstat (limited to 'src/arch/i386/interface')
-rw-r--r--src/arch/i386/interface/pxe/pxe_entry.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/i386/interface/pxe/pxe_entry.S b/src/arch/i386/interface/pxe/pxe_entry.S
index 551d79002..065fe7556 100644
--- a/src/arch/i386/interface/pxe/pxe_entry.S
+++ b/src/arch/i386/interface/pxe/pxe_entry.S
@@ -140,10 +140,10 @@ pxe_entry_common:
pushw %di
pushw %bx
/* Load !PXE parameters from stack into PXENV+ registers */
- movw 18(%esp), %bx
+ addr32 movw 18(%esp), %bx
movw %bx, %es
- movw 16(%esp), %di
- movw 14(%esp), %bx
+ addr32 movw 16(%esp), %di
+ addr32 movw 14(%esp), %bx
/* Make call as for PXENV+ */
pushw %cs
call pxenv_entry