summaryrefslogtreecommitdiff
path: root/sys/boot/i386/btx/lib/btxv86.s
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/i386/btx/lib/btxv86.s')
-rw-r--r--sys/boot/i386/btx/lib/btxv86.s7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/boot/i386/btx/lib/btxv86.s b/sys/boot/i386/btx/lib/btxv86.s
index 46709a39540c8..b67e873510e58 100644
--- a/sys/boot/i386/btx/lib/btxv86.s
+++ b/sys/boot/i386/btx/lib/btxv86.s
@@ -13,7 +13,7 @@
# purpose.
#
-# $Id: btxv86.s,v 1.1 1998/09/14 10:37:00 rnordier Exp $
+# $Id:$
#
# BTX V86 interface.
@@ -48,13 +48,11 @@
#
# V86 interface function.
#
-__v86int: popl __v86ret # Save return address
- pushl $__v86 # Push pointer
+__v86int: pushl $__v86 # Push pointer
call __v86_swap # Load V86 registers
int $INT_V86 # To BTX
call __v86_swap # Load user registers
addl $0x4,%esp # Discard pointer
- pushl __v86ret # Restore return address
ret # To user
#
# Swap V86 and user registers.
@@ -82,4 +80,3 @@ __v86_swap: xchgl %ebp,0x4(%esp,1) # Swap pointer, EBP
# V86 interface structure.
#
.comm __v86,SIZ_V86
- .comm __v86ret,4