18#ifndef __SPI_NOR_FLASH_PROTOCOL_H__
19#define __SPI_NOR_FLASH_PROTOCOL_H__
26#define EFI_SPI_NOR_FLASH_PROTOCOL_GUID \
27 { 0xb57ec3fe, 0xf833, 0x4ba6, \
28 { 0x85, 0x78, 0x2a, 0x7d, 0x6a, 0x87, 0x44, 0x4b }}
#define EFIAPI
Definition ProcessorBind.h:172
unsigned int UINT32
Definition ProcessorBind.h:102
#define CONST
Definition Base.h:327
#define IN
Definition Base.h:347
#define OUT
Definition Base.h:352
EFI_STATUS(EFIAPI * EFI_SPI_NOR_FLASH_PROTOCOL_WRITE_STATUS)(IN CONST EFI_SPI_NOR_FLASH_PROTOCOL *This, IN UINT32 LengthInBytes, IN UINT8 *FlashStatus)
Definition SpiNorFlash.h:124
EFI_STATUS(EFIAPI * EFI_SPI_NOR_FLASH_PROTOCOL_READ_DATA)(IN CONST EFI_SPI_NOR_FLASH_PROTOCOL *This, IN UINT32 FlashAddress, IN UINT32 LengthInBytes, OUT UINT8 *Buffer)
Definition SpiNorFlash.h:78
EFI_STATUS(EFIAPI * EFI_SPI_NOR_FLASH_PROTOCOL_ERASE)(IN CONST EFI_SPI_NOR_FLASH_PROTOCOL *This, IN UINT32 FlashAddress, IN UINT32 BlockCount)
Definition SpiNorFlash.h:179
EFI_STATUS(EFIAPI * EFI_SPI_NOR_FLASH_PROTOCOL_WRITE_DATA)(IN CONST EFI_SPI_NOR_FLASH_PROTOCOL *This, IN UINT32 FlashAddress, IN UINT32 LengthInBytes, IN UINT8 *Buffer)
Definition SpiNorFlash.h:152
EFI_STATUS(EFIAPI * EFI_SPI_NOR_FLASH_PROTOCOL_GET_FLASH_ID)(IN CONST EFI_SPI_NOR_FLASH_PROTOCOL *This, OUT UINT8 *Buffer)
Definition SpiNorFlash.h:53
EFI_GUID gEfiSpiNorFlashProtocolGuid
EFI_STATUS(EFIAPI * EFI_SPI_NOR_FLASH_PROTOCOL_READ_STATUS)(IN CONST EFI_SPI_NOR_FLASH_PROTOCOL *This, IN UINT32 LengthInBytes, OUT UINT8 *FlashStatus)
Definition SpiNorFlash.h:101
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
unsigned char UINT8
Definition actypes.h:236
Definition SpiNorFlash.h:203
EFI_SPI_NOR_FLASH_PROTOCOL_ERASE Erase
Definition SpiNorFlash.h:257
EFI_SPI_NOR_FLASH_PROTOCOL_WRITE_STATUS WriteStatus
Definition SpiNorFlash.h:247
UINT32 FlashSize
Definition SpiNorFlash.h:212
EFI_SPI_NOR_FLASH_PROTOCOL_READ_STATUS ReadStatus
Definition SpiNorFlash.h:242
UINT32 EraseBlockBytes
Definition SpiNorFlash.h:222
EFI_SPI_NOR_FLASH_PROTOCOL_WRITE_DATA WriteData
Definition SpiNorFlash.h:252
EFI_SPI_NOR_FLASH_PROTOCOL_READ_DATA ReadData
Definition SpiNorFlash.h:232
CONST EFI_SPI_PERIPHERAL * SpiPeripheral
Definition SpiNorFlash.h:207
EFI_SPI_NOR_FLASH_PROTOCOL_READ_DATA LfReadData
Definition SpiNorFlash.h:237
EFI_SPI_NOR_FLASH_PROTOCOL_GET_FLASH_ID GetFlashid
Definition SpiNorFlash.h:227
UINT8 Deviceid[3]
Definition SpiNorFlash.h:217
Definition SpiConfiguration.h:184