summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2000-04-26 04:35:25 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2000-04-26 04:35:25 +0000
commit36273c5d7927f874f6ea8606218ce59ed9255bc2 (patch)
tree780deee88e3da7fddbe617bcd61d406156532887
parent0a48a6902dda8d9b885d63e0c6565c58f2dcb2be (diff)
Notes
-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 da89da069c6d..ceda55f163d2 100644
--- a/sys/boot/i386/btx/btx/btx.S
+++ b/sys/boot/i386/btx/btx/btx.S
@@ -649,7 +649,7 @@ v86intn.3: subl %edi,%esi # From
movzwl 0x2(%eax),%edi # Load CS
movl %edi,0x2c(%ebp) # Save CS
xorl %edi,%edi # No ESI adjustment
- andb $~0x3,%dh # Clear IF and TF
+ andb $~0x1,%dh # Clear TF
jmp v86mon.5 # Finish up
#
# Hardware interrupt jump table.
@@ -792,7 +792,7 @@ intusr.4: shrl $0x4,%eax # Gives segment
stosl # Set ESP
xchgl %eax,%ecx # Get flags
btsl $0x11,%eax # Set VM
- andb $~0x3,%ah # Clear IF and TF
+ andb $~0x1,%ah # Clear TF
stosl # Set EFL
xchgl %eax,%ebp # Get int no/address
testb $0x1,%dl # Address?
diff --git a/sys/boot/i386/btx/btx/btx.s b/sys/boot/i386/btx/btx/btx.s
index da89da069c6d..ceda55f163d2 100644
--- a/sys/boot/i386/btx/btx/btx.s
+++ b/sys/boot/i386/btx/btx/btx.s
@@ -649,7 +649,7 @@ v86intn.3: subl %edi,%esi # From
movzwl 0x2(%eax),%edi # Load CS
movl %edi,0x2c(%ebp) # Save CS
xorl %edi,%edi # No ESI adjustment
- andb $~0x3,%dh # Clear IF and TF
+ andb $~0x1,%dh # Clear TF
jmp v86mon.5 # Finish up
#
# Hardware interrupt jump table.
@@ -792,7 +792,7 @@ intusr.4: shrl $0x4,%eax # Gives segment
stosl # Set ESP
xchgl %eax,%ecx # Get flags
btsl $0x11,%eax # Set VM
- andb $~0x3,%ah # Clear IF and TF
+ andb $~0x1,%ah # Clear TF
stosl # Set EFL
xchgl %eax,%ebp # Get int no/address
testb $0x1,%dl # Address?