46 IN BOOLEAN EnableSmmSts
124 if (CpuSmmBwp != 0) {
166 IN UINT8 BiosCtlValue
UINT8 EFIAPI MmioAnd8(IN UINTN Address, IN UINT8 AndData)
UINT8 EFIAPI MmioAndThenOr8(IN UINTN Address, IN UINT8 AndData, IN UINT8 OrData)
UINT8 EFIAPI MmioRead8(IN UINTN Address)
UINT8 EFIAPI MmioOr8(IN UINTN Address, IN UINT8 OrData)
UINT32 EFIAPI MmioRead32(IN UINTN Address)
UINT32 EFIAPI MmioAndThenOr32(IN UINTN Address, IN UINT32 AndData, IN UINT32 OrData)
UINT8 SaveAndDisableSpiPrefetchCache(IN UINTN PchSpiBase)
VOID EFIAPI EnableBiosWriteProtect(IN UINTN PchSpiBase, IN UINT8 CpuSmmBwp)
EFI_STATUS EFIAPI DisableBiosWriteProtect(IN UINTN PchSpiBase, IN UINT8 CpuSmmBwp)
VOID SetSpiBiosControlRegister(IN UINTN PchSpiBase, IN UINT8 BiosCtlValue)
VOID CpuSmmDisableBiosWriteProtect(IN BOOLEAN EnableSmmSts)
UINT32 AcquireSpiBar0(IN UINTN PchSpiBase)
VOID ReleaseSpiBar0(IN UINTN PchSpiBase)
#define R_SPI_BCR
BIOS Control Register.
#define B_SPI_BCR_SRC
SPI Read Configuration (SRC)
#define R_SPI_BASE
32-bit Memory Base Address Register
#define V_SPI_BCR_SRC_PREF_DIS_CACHE_DIS
Prefetch Disable, Cache Disable.
#define B_SPI_BCR_BIOSWE
Write Protect Disable (WPD)
UINT32 EFIAPI AsmWriteMsr32(IN UINT32 Index, IN UINT32 Value)