X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=DuetPkg%2FInclude%2FEfiFlashMap.h;h=5f8ade70ddcb4569e43e413209e3550735c88f8e;hb=d70b88120a2b5e98d00c722b54b0c39b06c23710;hp=5dfad52205f6bda96abc5344e4fb7969c5c48980;hpb=18b84857507fc28b8fbfbcd434f9c48bbcaf4ac5;p=mirror_edk2.git diff --git a/DuetPkg/Include/EfiFlashMap.h b/DuetPkg/Include/EfiFlashMap.h index 5dfad52205..5f8ade70dd 100644 --- a/DuetPkg/Include/EfiFlashMap.h +++ b/DuetPkg/Include/EfiFlashMap.h @@ -1,6 +1,6 @@ /** @file -Copyright (c) 2004 - 2007, Intel Corporation +Copyright (c) 2004 - 2010, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -22,7 +22,6 @@ Abstract: #ifndef _EFI_FLASHMAP_H_ #define _EFI_FLASHMAP_H_ - // // Definition for flash map GUIDed HOBs // @@ -59,6 +58,7 @@ typedef UINT8 EFI_FLASH_AREA_TYPE; // An individual sub-area Entry. // A single flash area may consist of more than one sub-area. // +/** typedef struct { EFI_FLASH_AREA_ATTRIBUTES Attributes; UINT32 Reserved; @@ -121,6 +121,32 @@ typedef struct { UINT8 Reserved[3]; EFI_GUID AreaTypeGuid; } EFI_FLASH_AREA_DATA; +**/ + +typedef struct { + EFI_FLASH_AREA_ATTRIBUTES Attributes; + UINT32 Reserved; + EFI_PHYSICAL_ADDRESS Base; + EFI_PHYSICAL_ADDRESS Length; + EFI_GUID FileSystem; +} EFI_FLASH_SUBAREA_ENTRY; + +typedef struct { + UINT8 Reserved[3]; + EFI_FLASH_AREA_TYPE AreaType; + EFI_GUID AreaTypeGuid; + UINT32 NumberOfEntries; + EFI_FLASH_SUBAREA_ENTRY Entries[1]; + // + // Extended Hob data. + // + // VolumeId and FilePath indicating a unique file. + // + UINT32 VolumeId; + CHAR16 FilePath[258]; + UINT32 ActuralSize; + UINT32 Offset; +} EFI_FLASH_MAP_FS_ENTRY_DATA; #pragma pack()