mirror of https://github.com/acidanthera/audk.git
OvmfPkg ResetSystemLib: Fix VS build error
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <Ruiyu.ni@Intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14557 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
dfd3119ab2
commit
f91d18df57
|
@ -27,7 +27,7 @@ AcpiPmControl (
|
|||
{
|
||||
ASSERT (SuspendType < 6);
|
||||
|
||||
IoBitFieldWrite16 (PcdGet16 (PcdAcpiPmBaseAddress) + 4, 10, 13, SuspendType);
|
||||
IoBitFieldWrite16 (PcdGet16 (PcdAcpiPmBaseAddress) + 4, 10, 13, (UINT16) SuspendType);
|
||||
IoOr16 (PcdGet16 (PcdAcpiPmBaseAddress) + 4, BIT13);
|
||||
CpuDeadLoop ();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue