/** @file
PchGpioUnlockSmm.c -- PchGpioUnlockSmm
**/
#include "PchGpioUnlockSmm.h"
// Module entry point for SMM GPIO unlock flow.
EFI_STATUS
EFIAPI
ModuleEntryPoint(
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
)
{
EFI_STATUS UnlockStatus;
InitializePchGpioUnlockSmm(ImageHandle, SystemTable);
UnlockStatus = ExecutePchGpioUnlockSequence();
if (EFI_ERROR(UnlockStatus)) {
HandlePchGpioUnlockFailure();
}
return UnlockStatus;
}