Newer
Older
AMI-Aptio-BIOS-Reversed / PurleyPlatPkg / BootGuard / VerifyFwBootGuard / VerifyFwBootGuard.h
@Ajax Dong Ajax Dong 7 days ago 937 bytes Recovering names
/** @file
  VerifyFwBootGuard.h -- Header for VerifyFwBootGuard


Copyright (c) HR650X BIOS Decompilation Project
**/

#ifndef __VERIFYFWBOOTGUARD_H__
#define __VERIFYFWBOOTGUARD_H__

#include "../uefi_headers/Uefi.h"

//
// Function Prototypes
//

///
/// ModuleEntryPoint -- UEFI entry point / initialization function
///
EFI_STATUS
EFIAPI
ModuleEntryPoint(
  EFI_HANDLE        ImageHandle,
  EFI_SYSTEM_TABLE  *SystemTable
);

///
/// VerifyFwBootGuardInitialize -- preliminary Boot Guard preparation
///
EFI_STATUS
EFIAPI
VerifyFwBootGuardInitialize(
  VOID
);

///
/// VerifyBootGuardStatus -- reads verification status and updates boot path
///
EFI_STATUS
EFIAPI
VerifyBootGuardStatus(
  EFI_HANDLE        ImageHandle,
  EFI_SYSTEM_TABLE  *SystemTable
);

///
/// VerifyFwBootGuardFail -- applies failure handling for Boot Guard mismatch
///
EFI_STATUS
EFIAPI
VerifyFwBootGuardFail(
  VOID
);

#endif /* __VERIFYFWBOOTGUARD_H__ */