mirror of https://github.com/acidanthera/audk.git
OvmfPkg: Don't access A20 gate register on Cloud Hypervisor
Since Cloud Hypervisor doesn't emulate an A20 gate register on I/O port 0x92, it's better to avoid accessing it when the platform is identified as Cloud Hypervisor. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> Acked-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
parent
3129ed374c
commit
bf25f27e00
|
@ -314,7 +314,9 @@ PlatformMiscInitialization (
|
|||
//
|
||||
// Disable A20 Mask
|
||||
//
|
||||
IoOr8 (0x92, BIT1);
|
||||
if (PlatformInfoHob->HostBridgeDevId != CLOUDHV_DEVICE_ID) {
|
||||
IoOr8 (0x92, BIT1);
|
||||
}
|
||||
|
||||
//
|
||||
// Build the CPU HOB with guest RAM size dependent address width and 16-bits
|
||||
|
|
Loading…
Reference in New Issue