12#ifndef __LEGACY_SPI_FLASH_PROTOCOL_H__
13#define __LEGACY_SPI_FLASH_PROTOCOL_H__
20#define EFI_LEGACY_SPI_FLASH_PROTOCOL_GUID \
21 { 0xf01bed57, 0x04bc, 0x4f3f, \
22 { 0x96, 0x60, 0xd6, 0xf2, 0xea, 0x22, 0x82, 0x59 }}
90 IN UINT32 BiosAddress,
91 IN UINT32 BlocksToProtect
124 IN UINT32 BiosAddress,
125 IN UINT32 BlocksToProtect
193extern EFI_GUID gEfiLegacySpiFlashProtocolGuid;
BOOLEAN(EFIAPI * EFI_LEGACY_SPI_FLASH_PROTOCOL_IS_RANGE_PROTECTED)(IN CONST EFI_LEGACY_SPI_FLASH_PROTOCOL *This, IN UINT32 BiosAddress, IN UINT32 BlocksToProtect)
EFI_STATUS(EFIAPI * EFI_LEGACY_SPI_FLASH_PROTOCOL_PROTECT_NEXT_RANGE)(IN CONST EFI_LEGACY_SPI_FLASH_PROTOCOL *This, IN UINT32 BiosAddress, IN UINT32 BlocksToProtect)
EFI_STATUS(EFIAPI * EFI_LEGACY_SPI_FLASH_PROTOCOL_BIOS_BASE_ADDRESS)(IN CONST EFI_LEGACY_SPI_FLASH_PROTOCOL *This, IN UINT32 BiosBaseAddress)
EFI_STATUS(EFIAPI * EFI_LEGACY_SPI_FLASH_PROTOCOL_CLEAR_SPI_PROTECT)(IN CONST EFI_LEGACY_SPI_FLASH_PROTOCOL *This)
EFI_STATUS(EFIAPI * EFI_LEGACY_SPI_FLASH_PROTOCOL_LOCK_CONTROLLER)(IN CONST EFI_LEGACY_SPI_FLASH_PROTOCOL *This)
EFI_LEGACY_SPI_FLASH_PROTOCOL_LOCK_CONTROLLER LockController
EFI_LEGACY_SPI_FLASH_PROTOCOL_PROTECT_NEXT_RANGE ProtectNextRange
EFI_LEGACY_SPI_FLASH_PROTOCOL_IS_RANGE_PROTECTED IsRangeProtected
EFI_LEGACY_SPI_FLASH_PROTOCOL_CLEAR_SPI_PROTECT ClearSpiProtect
EFI_SPI_NOR_FLASH_PROTOCOL FlashProtocol
EFI_LEGACY_SPI_FLASH_PROTOCOL_BIOS_BASE_ADDRESS BiosBaseAddress