/* Transfer AP to safe hlt-loop after it finished restore CPU features on S3 patch. */
VOID TransferApToSafeState(IN UINTN ApHltLoopCode, IN UINTN TopOfStack, IN UINTN NumberToFinishAddress)
/* Transfer AP to safe hlt-loop after it finished restore CPU features on S3 patch. */
VOID TransferApToSafeState(IN UINTN ApHltLoopCode, IN UINTN TopOfStack, IN UINTN NumberToFinishAddress)
{
  AsmDisablePaging64 (
    GetProtectedModeCS (),
    (UINT32)ApHltLoopCode,
    (UINT32)NumberToFinishAddress,
    0,
    (UINT32)TopOfStack
    );
  ASSERT (FALSE);
}