]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c
UefiPayloadPkg: Fix ECC reported issues
[mirror_edk2.git] / UefiPayloadPkg / Library / ResetSystemLib / ResetSystemLib.c
index 2e4b7fe59261087de6fe17b07cce13295c617aca..b35a4cc1d9535bfa50f3d4b30d72d78d60141051 100644 (file)
@@ -43,22 +43,6 @@ ResetSystemLibConstructor (
   return EFI_SUCCESS;\r
 }\r
 \r
-\r
-VOID\r
-AcpiPmControl (\r
-  UINTN   SuspendType\r
-  )\r
-{\r
-  UINTN              PmCtrlReg;\r
-\r
-  ASSERT (SuspendType <= 7);\r
-\r
-  PmCtrlReg = (UINTN)mAcpiBoardInfo.PmCtrlRegBase;\r
-  IoAndThenOr16 (PmCtrlReg, (UINT16) ~0x3c00, (UINT16) (SuspendType << 10));\r
-  IoOr16 (PmCtrlReg, BIT13);\r
-  CpuDeadLoop ();\r
-}\r
-\r
 /**\r
   Calling this function causes a system-wide reset. This sets\r
   all circuitry within the system to its initial state. This type of reset\r