]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Ppi/FlashMap/FlashMap.h
Update Guid Value format.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Ppi / FlashMap / FlashMap.h
CommitLineData
3eb9473e 1/*++\r
2\r
3Copyright (c) 2004, 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#define PEI_FLASH_MAP_PPI_GUID \\r
28 { \\r
7ccf38a3 29 0xf34c2fa0, 0xde88, 0x4270, {0x84, 0x14, 0x96, 0x12, 0x22, 0xf4, 0x52, 0x1c} \\r
3eb9473e 30 }\r
31\r
32#include "EfiFlashMap.h"\r
33\r
34EFI_FORWARD_DECLARATION (PEI_FLASH_MAP_PPI);\r
35\r
36//\r
37// Functions\r
38//\r
39typedef\r
40EFI_STATUS\r
41(EFIAPI *PEI_GET_FLASH_AREA_INFO) (\r
42 IN EFI_PEI_SERVICES **PeiServices,\r
43 IN PEI_FLASH_MAP_PPI * This,\r
44 IN EFI_FLASH_AREA_TYPE AreaType,\r
45 IN EFI_GUID * AreaTypeGuid,\r
46 OUT UINT32 *NumEntries,\r
47 OUT EFI_FLASH_SUBAREA_ENTRY **Entries\r
48 );\r
49\r
50//\r
51// PEI_FLASH_MAP_PPI\r
52//\r
53typedef struct _PEI_FLASH_MAP_PPI {\r
54 PEI_GET_FLASH_AREA_INFO GetAreaInfo;\r
55} PEI_FLASH_MAP_PPI;\r
56\r
57extern EFI_GUID gPeiFlashMapPpiGuid;\r
58\r
59#endif // _PEI_FLASH_MAP_PPI_H_\r