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
12
typedef
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;
17
}
VIRT_NOR_FLASH_DESCRIPTION
;
18
19
EFI_STATUS
20
VirtNorFlashPlatformInitialization
(
21
VOID
22
);
23
24
EFI_STATUS
25
VirtNorFlashPlatformGetDevices
(
26
OUT
VIRT_NOR_FLASH_DESCRIPTION
**NorFlashDescriptions,
27
OUT
UINT32 *Count
28
);
29
30
#endif
/* __VIRT_NOR_FLASH_PLATFORM_LIB__ */
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
OUT
#define OUT
Definition:
Base.h:284
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
VirtNorFlashPlatformInitialization
EFI_STATUS VirtNorFlashPlatformInitialization(VOID)
Definition:
NorFlashKvmtool.c:39
VirtNorFlashPlatformGetDevices
EFI_STATUS VirtNorFlashPlatformGetDevices(OUT VIRT_NOR_FLASH_DESCRIPTION **NorFlashDescriptions, OUT UINT32 *Count)
Definition:
NorFlashKvmtool.c:190
VIRT_NOR_FLASH_DESCRIPTION
Definition:
VirtNorFlashPlatformLib.h:12
OvmfPkg
Include
Library
VirtNorFlashPlatformLib.h
Generated on Fri Nov 15 2024 18:01:20 for TianoCore EDK2 by
1.9.6