TianoCore EDK2 master
Loading...
Searching...
No Matches
LegacySpiFlash.h
Go to the documentation of this file.
1
12#ifndef __LEGACY_SPI_FLASH_PROTOCOL_H__
13#define __LEGACY_SPI_FLASH_PROTOCOL_H__
14
16
20#define EFI_LEGACY_SPI_FLASH_PROTOCOL_GUID \
21 { 0xf01bed57, 0x04bc, 0x4f3f, \
22 { 0x96, 0x60, 0xd6, 0xf2, 0xea, 0x22, 0x82, 0x59 }}
23
25
45typedef
49 IN UINT32 BiosBaseAddress
50 );
51
69 );
70
86typedef
87BOOLEAN
90 IN UINT32 BiosAddress,
91 IN UINT32 BlocksToProtect
92 );
93
120typedef
124 IN UINT32 BiosAddress,
125 IN UINT32 BlocksToProtect
126 );
127
146typedef
150 );
151
162
163 //
164 // Legacy flash (SPI host) controller support
165 //
166
171
176
181
186
191};
192
193extern EFI_GUID gEfiLegacySpiFlashProtocolGuid;
194
195#endif // __LEGACY_SPI_FLASH_PROTOCOL_H__
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)
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
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
Definition: Base.h:213