3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. 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
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.
18 FlashMap PPI defined in Tiano
20 This code abstracts FlashMap access
24 #ifndef _PEI_FLASH_MAP_PPI_H_
25 #define _PEI_FLASH_MAP_PPI_H_
27 #define PEI_FLASH_MAP_PPI_GUID \
28 { 0xf34c2fa0, 0xde88, 0x4270, {0x84, 0x14, 0x96, 0x12, 0x22, 0xf4, 0x52, 0x1c } }
30 typedef struct _PEI_FLASH_MAP_PPI PEI_FLASH_MAP_PPI
;
36 (EFIAPI
*PEI_GET_FLASH_AREA_INFO
) (
37 IN EFI_PEI_SERVICES
**PeiServices
,
38 IN PEI_FLASH_MAP_PPI
*This
,
39 IN EFI_FLASH_AREA_TYPE AreaType
,
40 IN EFI_GUID
*AreaTypeGuid
,
41 OUT UINT32
*NumEntries
,
42 OUT EFI_FLASH_SUBAREA_ENTRY
**Entries
46 struct _PEI_FLASH_MAP_PPI
{
47 PEI_GET_FLASH_AREA_INFO GetAreaInfo
;
50 extern EFI_GUID gPeiFlashMapPpiGuid
;