aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorRobert Nordier <rnordier@FreeBSD.org>1998-09-13 13:28:07 +0000
committerRobert Nordier <rnordier@FreeBSD.org>1998-09-13 13:28:07 +0000
commit38c931abc7fbf7136dcc1eab07825ad8ef67f454 (patch)
treedd6d1e1db69ba1f8c47bc076a0204b75f4c598bc /sys/boot
parent99c167bba42a748e5e967393b7ffe75e0413b7c5 (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/btx/btx/btx.S4
-rw-r--r--sys/boot/i386/btx/btx/btx.s4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/i386/btx/btx/btx.S b/sys/boot/i386/btx/btx/btx.S
index 2b0135927f72..522a3c4ca828 100644
--- a/sys/boot/i386/btx/btx/btx.S
+++ b/sys/boot/i386/btx/btx/btx.S
@@ -13,7 +13,7 @@
# purpose.
#
-# $Id:$
+# $Id: btx.s,v 1.1.1.1 1998/09/12 04:29:23 rnordier Exp $
#
# Memory layout.
@@ -219,7 +219,7 @@ init.9: xorl %ecx,%ecx # Zero
pushl %eax # Set ESP
pushl $0x202 # Set flags (IF set)
pushl $SEL_UCODE # Set CS
- pushl $0x0 # Set EIP
+ pushl btx_hdr+0xc # Set EIP
pushl %ecx # Set GS
pushl %ecx # Set FS
pushl %ecx # Set DS
diff --git a/sys/boot/i386/btx/btx/btx.s b/sys/boot/i386/btx/btx/btx.s
index 2b0135927f72..522a3c4ca828 100644
--- a/sys/boot/i386/btx/btx/btx.s
+++ b/sys/boot/i386/btx/btx/btx.s
@@ -13,7 +13,7 @@
# purpose.
#
-# $Id:$
+# $Id: btx.s,v 1.1.1.1 1998/09/12 04:29:23 rnordier Exp $
#
# Memory layout.
@@ -219,7 +219,7 @@ init.9: xorl %ecx,%ecx # Zero
pushl %eax # Set ESP
pushl $0x202 # Set flags (IF set)
pushl $SEL_UCODE # Set CS
- pushl $0x0 # Set EIP
+ pushl btx_hdr+0xc # Set EIP
pushl %ecx # Set GS
pushl %ecx # Set FS
pushl %ecx # Set DS