]> xenbits.xensource.com Git - osstest/seabios.git/commit
smm: Backup and restore A20 on an SMI based mode switch
authorKevin O'Connor <kevin@koconnor.net>
Tue, 16 May 2017 15:32:49 +0000 (11:32 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 16 May 2017 15:32:49 +0000 (11:32 -0400)
commitd8b308077e984d4baf852448536ae59307efd808
tree4c5819a7af68e88e75a725f211142cf4e900271c
parent235a8190a05b29cb0fd2eaa3a4c9ed8cb651d96e
smm: Backup and restore A20 on an SMI based mode switch

QEMU does not store the A20 setting in the SMM cpu environment area
(and it does not look like real CPUs do either).  So, manually backup
and restore A20 on a mode switch.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/fw/smm.c