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