aboutsummaryrefslogtreecommitdiffstats
path: root/src/romlayout.S
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2015-09-11 16:19:02 -0400
committerKevin O'Connor <kevin@koconnor.net>2015-09-14 10:12:35 -0400
commit423542e5669732ab426fb0bc5798f004cb0bb3d6 (patch)
treecde531ef4f4ad63e79b5437b1aae478da46c1839 /src/romlayout.S
parent63766c43f1242b48fcacf616280777fd0388a168 (diff)
downloadseabios-423542e5669732ab426fb0bc5798f004cb0bb3d6.tar.gz
Use transition32_nmi_off from call32() and call16_back()
The call32() and call16_back() functions will always disable NMI and enable a20 (via the call32_prep() function) so it is safe to use the _nmi_off variant of transition32. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/romlayout.S')
-rw-r--r--src/romlayout.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/romlayout.S b/src/romlayout.S
index e223cdc8..fefc212e 100644
--- a/src/romlayout.S
+++ b/src/romlayout.S
@@ -22,6 +22,7 @@
// %edx = return location (in 32bit mode)
// Clobbers: ecx, flags, segment registers, cr0, idt/gdt
DECLFUNC transition32
+ .global transition32_nmi_off
transition32:
// Disable irqs (and clear direction flag)
cli