Newer
Older
AMI-Aptio-BIOS-Reversed / BootGuardPei / BootGuardPei.h
@Ajax Dong Ajax Dong 2 days ago 1 KB Init
#ifndef __BOOTGUARDPEI_H__
#define __BOOTGUARDPEI_H__

#include <Uefi.h>

/*
 * BootGuardPei.h
 *
 * Lightweight index for the recovered BootGuardPei PEIM.  Most recovered
 * routines still use decompiler-derived names and types; keep this header as
 * a navigation aid until exact EDK2 prototypes are confirmed.
 */

/* Memory helpers */
// InternalCompareMem @ 0xffde2fa4
// InternalCopyMem @ 0xffde2fc4
// SetMem @ 0xffde3004
// SetMemZero @ 0xffde3024
// SetMem32Loop @ 0xffde3044
// SetMem32 @ 0xffde3064

/* PEIM entry and Boot Guard verification */
EFI_STATUS ModuleEntryPoint(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable);
// LocateBootGuardHashKey @ 0xffde3121
// BootGuardPeiEntry @ 0xffde31bf
// IsBootGuardHashGuid @ 0xffde363d

/* PEI services, PCD, allocation, and debug support */
// GetPcdPei @ 0xffde3446
// SetPcd @ 0xffde349e
// GetDebugPeiServicesPtr @ 0xffde34b5
// DebugPrint @ 0xffde34e6
// DebugAssert @ 0xffde3510
// DebugEnabled @ 0xffde352e
// DebugLevelEnabled @ 0xffde3531
// AllocatePool @ 0xffde353a
// DebugClear @ 0xffde3572
// CompareMem @ 0xffde3585
// CopyMem @ 0xffde3699
// ReadUnaligned64 @ 0xffde3765
// GetDebugLevel @ 0xffde3791
// GetPeiServices @ 0xffde37e0
// ReadIdtr @ 0xffde3812
// HeapManagerInit @ 0xffde3835
// PeiCryptLibConstructor @ 0xffde38ea

/* SHA-256 implementation and wrappers */
// Sha256FinalWrapper @ 0xffde394e
// Sha256ContextSize @ 0xffde3963
// Sha256InitWrapper @ 0xffde3967
// Sha256UpdateWrapper @ 0xffde3974
// MemMgrInit @ 0xffde398e
// Sha256Transform @ 0xffde3a66
// Sha256Final @ 0xffde3bef
// Sha256Init @ 0xffde3ce3
// Sha256Update @ 0xffde3d2a
// Udiv64 @ 0xffde3e04

#endif /* __BOOTGUARDPEI_H__ */