TianoCore EDK2 master
Loading...
Searching...
No Matches
VirtNorFlashPlatformLib.h
Go to the documentation of this file.
1
9#ifndef __VIRT_NOR_FLASH_PLATFORM_LIB__
10#define __VIRT_NOR_FLASH_PLATFORM_LIB__
11
12typedef struct {
13 UINTN DeviceBaseAddress; // Start address of the Device Base Address (DBA)
14 UINTN RegionBaseAddress; // Start address of one single region
15 UINTN Size;
16 UINTN BlockSize;
18
21 VOID
22 );
23
26 OUT VIRT_NOR_FLASH_DESCRIPTION **NorFlashDescriptions,
27 OUT UINT32 *Count
28 );
29
30#endif /* __VIRT_NOR_FLASH_PLATFORM_LIB__ */
UINT64 UINTN
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_STATUS VirtNorFlashPlatformInitialization(VOID)
EFI_STATUS VirtNorFlashPlatformGetDevices(OUT VIRT_NOR_FLASH_DESCRIPTION **NorFlashDescriptions, OUT UINT32 *Count)