]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Ppi/FlashMap.h
Import EhciDxe and UhciDxe into MdeModulePkg.
[mirror_edk2.git] / MdeModulePkg / Include / Ppi / FlashMap.h
CommitLineData
56a71b55 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 FlashMap.h\r
15\r
16Abstract:\r
17\r
18 FlashMap PPI defined in Tiano\r
19\r
20 This code abstracts FlashMap access\r
21\r
22--*/\r
23\r
24#ifndef _PEI_FLASH_MAP_PPI_H_\r
25#define _PEI_FLASH_MAP_PPI_H_\r
26\r
27#include <common/FlashMap.h>\r
28\r
29#define PEI_FLASH_MAP_PPI_GUID \\r
30 { 0xf34c2fa0, 0xde88, 0x4270, {0x84, 0x14, 0x96, 0x12, 0x22, 0xf4, 0x52, 0x1c } }\r
31\r
32typedef struct _PEI_FLASH_MAP_PPI PEI_FLASH_MAP_PPI;\r
33//\r
34// Functions\r
35//\r
36typedef\r
37EFI_STATUS\r
38(EFIAPI *PEI_GET_FLASH_AREA_INFO) (\r
39 IN EFI_PEI_SERVICES **PeiServices,\r
40 IN PEI_FLASH_MAP_PPI *This,\r
41 IN EFI_FLASH_AREA_TYPE AreaType,\r
42 IN EFI_GUID *AreaTypeGuid,\r
43 OUT UINT32 *NumEntries,\r
44 OUT EFI_FLASH_SUBAREA_ENTRY **Entries\r
45 );\r
46\r
47\r
48struct _PEI_FLASH_MAP_PPI {\r
49 PEI_GET_FLASH_AREA_INFO GetAreaInfo;\r
50};\r
51\r
52extern EFI_GUID gPeiFlashMapPpiGuid;\r
53\r
54#endif \r