diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2015-09-11 16:19:02 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2015-09-14 10:12:35 -0400 |
commit | 423542e5669732ab426fb0bc5798f004cb0bb3d6 (patch) | |
tree | cde531ef4f4ad63e79b5437b1aae478da46c1839 /src/romlayout.S | |
parent | 63766c43f1242b48fcacf616280777fd0388a168 (diff) | |
download | seabios-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.S | 1 |
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 |