]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Include/Library/VirtNorFlashPlatformLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / OvmfPkg / Include / Library / VirtNorFlashPlatformLib.h
1 /** @file
2
3 Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>
4
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
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__ */