summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-11-20 02:14:56 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-11-20 02:14:56 +0000
commit04e12c21476db29e8f92030ed00122fa4e1e56cc (patch)
tree7b21b1dc783f8300a75e3b6fd557000b69201e61 /MdeModulePkg/Include
parentb010fb77c7c1fa659ea7280555f4045b898355c8 (diff)
downloadedk2-platforms-04e12c21476db29e8f92030ed00122fa4e1e56cc.tar.xz
Move out the FlashMapHob
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4306 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Include')
-rw-r--r--MdeModulePkg/Include/Guid/FlashMapHob.h119
1 files changed, 0 insertions, 119 deletions
diff --git a/MdeModulePkg/Include/Guid/FlashMapHob.h b/MdeModulePkg/Include/Guid/FlashMapHob.h
deleted file mode 100644
index 416a8c6df0..0000000000
--- a/MdeModulePkg/Include/Guid/FlashMapHob.h
+++ /dev/null
@@ -1,119 +0,0 @@
-/*++
-
-Copyright (c) 2006, 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
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-Module Name:
-
- FlashMapHob.h
-
-Abstract:
-
- GUID used for Flash Map HOB entries in the HOB list.
-
---*/
-
-#ifndef _FLASH_MAP_HOB_GUID_H_
-#define _FLASH_MAP_HOB_GUID_H_
-
-//
-// Definitions for Flash Map
-//
-#define EFI_FLASH_MAP_HOB_GUID \
- { 0xb091e7d2, 0x5a0, 0x4198, {0x94, 0xf0, 0x74, 0xb7, 0xb8, 0xc5, 0x54, 0x59 } }
-
-
-//
-// Definition for flash map GUIDed HOBs
-//
-typedef UINT32 EFI_FLASH_AREA_ATTRIBUTES;
-
-#define EFI_FLASH_AREA_FV 0x0001
-#define EFI_FLASH_AREA_SUBFV 0x0002
-#define EFI_FLASH_AREA_MEMMAPPED_FV 0x0004
-#define EFI_FLASH_AREA_REQUIRED 0x0008
-#define EFI_FLASH_AREA_CORRUPT 0x0010
-
-typedef UINT8 EFI_FLASH_AREA_TYPE;
-
-#define EFI_FLASH_AREA_RECOVERY_BIOS 0x0 // Recovery code
-#define EFI_FLASH_AREA_MAIN_BIOS 0x1 // Regular BIOS code
-#define EFI_FLASH_AREA_PAL_B 0x2 // PAL-B
-#define EFI_FLASH_AREA_RESERVED_03 0x3 // Reserved for backwards compatibility
-#define EFI_FLASH_AREA_RESERVED_04 0x4 // Reserved for backwards compatibility
-#define EFI_FLASH_AREA_DMI_FRU 0x5 // DMI FRU information
-#define EFI_FLASH_AREA_OEM_BINARY 0x6 // OEM Binary Code/data
-#define EFI_FLASH_AREA_RESERVED_07 0x7 // Reserved for backwards compatibility
-#define EFI_FLASH_AREA_RESERVED_08 0x8 // Reserved for backwards compatibility
-#define EFI_FLASH_AREA_RESERVED_09 0x9 // Reserved for backwards compatibility
-#define EFI_FLASH_AREA_RESERVED_0A 0x0a // Reserved for backwards compatibility
-#define EFI_FLASH_AREA_EFI_VARIABLES 0x0b // EFI variables
-#define EFI_FLASH_AREA_MCA_LOG 0x0c // MCA error log
-#define EFI_FLASH_AREA_SMBIOS_LOG 0x0d // SMBIOS error log
-#define EFI_FLASH_AREA_FTW_BACKUP 0x0e // A backup block during FTW operations
-#define EFI_FLASH_AREA_FTW_STATE 0x0f // State information during FTW operations
-#define EFI_FLASH_AREA_UNUSED 0x0fd // Not used
-#define EFI_FLASH_AREA_GUID_DEFINED 0x0fe // Usage defined by a GUID
-#pragma pack(1)
-//
-// 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;
- 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 NumEntries;
- EFI_FLASH_SUBAREA_ENTRY Entries[1];
-} EFI_FLASH_MAP_ENTRY_DATA;
-
-typedef struct {
- EFI_HOB_GENERIC_HEADER Header;
- EFI_GUID Name;
- UINT8 Reserved[3];
- EFI_FLASH_AREA_TYPE AreaType;
- EFI_GUID AreaTypeGuid;
- UINT32 NumEntries;
- EFI_FLASH_SUBAREA_ENTRY Entries[1];
-} EFI_HOB_FLASH_MAP_ENTRY_TYPE;
-
-//
-// Internal definitions
-//
-typedef struct {
- UINT8 Reserved[3];
- EFI_FLASH_AREA_TYPE AreaType;
- EFI_GUID AreaTypeGuid;
- UINT32 NumberOfEntries;
- EFI_FLASH_SUBAREA_ENTRY SubAreaData;
-} EFI_FLASH_AREA_HOB_DATA;
-
-typedef struct {
- UINTN Base;
- UINTN Length;
- EFI_FLASH_AREA_ATTRIBUTES Attributes;
- EFI_FLASH_AREA_TYPE AreaType;
- UINT8 Reserved[3];
- EFI_GUID AreaTypeGuid;
-} EFI_FLASH_AREA_DATA;
-
-#pragma pack()
-
-
-extern EFI_GUID gEfiFlashMapHobGuid;
-
-#endif // _FLASH_MAP_HOB_GUID_H_