TianoCore EDK2 master
Loading...
Searching...
No Matches
LegacySpiController.h
Go to the documentation of this file.
1
12#ifndef __LEGACY_SPI_CONTROLLER_PROTOCOL_H__
13#define __LEGACY_SPI_CONTROLLER_PROTOCOL_H__
14
21#define EFI_LEGACY_SPI_CONTROLLER_GUID \
22 { 0x39136fc7, 0x1a11, 0x49de, \
23 { 0xbf, 0x35, 0x0e, 0x78, 0xdd, 0xb5, 0x24, 0xfc }}
24
25typedef
28
52 );
53
72typedef
77 );
78
101 IN UINT32 BiosBaseAddress
102 );
103
117typedef
121 );
122
138typedef
139BOOLEAN
142 IN UINT32 BiosAddress,
143 IN UINT32 BlocksToProtect
144 );
145
171typedef
175 IN UINT32 BiosAddress,
176 IN UINT32 BlocksToProtect
177 );
178
200 );
201
210
215
220
225
230
235
240
245
250
255};
256
257extern EFI_GUID gEfiLegacySpiControllerProtocolGuid;
258
259#endif // __LEGACY_SPI_CONTROLLER_PROTOCOL_H__
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)
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_LEGACY_SPI_CONTROLLER_PROTOCOL_BIOS_BASE_ADDRESS BiosBaseAddress
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
Definition: Base.h:213