summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrnordier <rnordier@FreeBSD.org>1998-09-13 13:28:07 +0000
committerrnordier <rnordier@FreeBSD.org>1998-09-13 13:28:07 +0000
commitac5f389299786b41800e6d4bb7ca8c39c173b246 (patch)
tree87d60a306e1a34bcbde7541ff077dd75922e1d91 /sys
parentc5403b91f2e2a82afb9709a4d6fd26dbce22e1f7 (diff)
downloadFreeBSD-src-ac5f389299786b41800e6d4bb7ca8c39c173b246.zip
FreeBSD-src-ac5f389299786b41800e6d4bb7ca8c39c173b246.tar.gz
Enable client entry point support.
Diffstat (limited to 'sys')
-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 2b01359..522a3c4 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 2b01359..522a3c4 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
OpenPOWER on IntegriCloud