/* 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)
{
  SwitchStack (
    (SWITCH_STACK_ENTRY_POINT)ApHltLoopCode,
    (VOID *)NumberToFinishAddress,
    NULL,
    (VOID *)TopOfStack
    );
  ASSERT (FALSE);
}