12#ifndef __LEGACY_SPI_CONTROLLER_PROTOCOL_H__
13#define __LEGACY_SPI_CONTROLLER_PROTOCOL_H__
21#define EFI_LEGACY_SPI_CONTROLLER_GUID \
22 { 0x39136fc7, 0x1a11, 0x49de, \
23 { 0xbf, 0x35, 0x0e, 0x78, 0xdd, 0xb5, 0x24, 0xfc }}
142 IN UINT32 BiosAddress,
143 IN UINT32 BlocksToProtect
175 IN UINT32 BiosAddress,
176 IN UINT32 BlocksToProtect
257extern EFI_GUID gEfiLegacySpiControllerProtocolGuid;
EFI_STATUS(EFIAPI * EFI_LEGACY_SPI_CONTROLLER_PROTOCOL_CLEAR_SPI_PROTECT)(IN CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL *This)
EFI_STATUS(EFIAPI * EFI_LEGACY_SPI_CONTROLLER_PROTOCOL_ERASE_BLOCK_OPCODE)(IN CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL *This, IN UINT8 EraseBlockOpcode)
BOOLEAN(EFIAPI * EFI_LEGACY_SPI_CONTROLLER_PROTOCOL_IS_RANGE_PROTECTED)(IN CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL *This, IN UINT32 BiosAddress, IN UINT32 BlocksToProtect)
EFI_STATUS(EFIAPI * EFI_LEGACY_SPI_CONTROLLER_PROTOCOL_WRITE_STATUS_PREFIX)(IN CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL *This, IN UINT8 WriteStatusPrefix)
EFI_STATUS(EFIAPI * EFI_LEGACY_SPI_CONTROLLER_PROTOCOL_LOCK_CONTROLLER)(IN CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL *This)
EFI_STATUS(EFIAPI * EFI_LEGACY_SPI_CONTROLLER_PROTOCOL_PROTECT_NEXT_RANGE)(IN CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL *This, IN UINT32 BiosAddress, IN UINT32 BlocksToProtect)
EFI_STATUS(EFIAPI * EFI_LEGACY_SPI_CONTROLLER_PROTOCOL_BIOS_BASE_ADDRESS)(IN CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL *This, IN UINT32 BiosBaseAddress)
EFI_LEGACY_SPI_CONTROLLER_PROTOCOL_BIOS_BASE_ADDRESS BiosBaseAddress
UINT32 RangeRegisterCount
EFI_LEGACY_SPI_CONTROLLER_PROTOCOL_CLEAR_SPI_PROTECT ClearSpiProtect
EFI_LEGACY_SPI_CONTROLLER_PROTOCOL_WRITE_STATUS_PREFIX WriteStatusPrefix
EFI_LEGACY_SPI_CONTROLLER_PROTOCOL_IS_RANGE_PROTECTED IsRangeProtected
EFI_LEGACY_SPI_CONTROLLER_PROTOCOL_LOCK_CONTROLLER LockController
EFI_LEGACY_SPI_CONTROLLER_PROTOCOL_PROTECT_NEXT_RANGE ProtectNextRange
EFI_LEGACY_SPI_CONTROLLER_PROTOCOL_ERASE_BLOCK_OPCODE EraseBlockOpcode