Porting WinNtFwhPei and WinNtFlashMapPei to produce FvHob.
Help to build DxeCore in Nt32Pkg platform. Fix the wrong DebugLib used in Nt32Pkg platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3076 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -95,7 +95,7 @@
|
||||
CustomDecompressLib
|
||||
TianoDecompressLib
|
||||
UefiDecompressLib
|
||||
EdkPeCoffLoaderLib
|
||||
PeCoffLoaderLib
|
||||
CacheMaintenanceLib
|
||||
ReportStatusCodeLib
|
||||
PeiServicesLib
|
||||
|
33
MdeModulePkg/Include/Guid/FlashMapHob.h
Normal file
33
MdeModulePkg/Include/Guid/FlashMapHob.h
Normal file
@@ -0,0 +1,33 @@
|
||||
/*++
|
||||
|
||||
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 } }
|
||||
|
||||
extern EFI_GUID gEfiFlashMapHobGuid;
|
||||
|
||||
#endif // _FLASH_MAP_HOB_GUID_H_
|
54
MdeModulePkg/Include/Ppi/FlashMap.h
Normal file
54
MdeModulePkg/Include/Ppi/FlashMap.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*++
|
||||
|
||||
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:
|
||||
|
||||
FlashMap.h
|
||||
|
||||
Abstract:
|
||||
|
||||
FlashMap PPI defined in Tiano
|
||||
|
||||
This code abstracts FlashMap access
|
||||
|
||||
--*/
|
||||
|
||||
#ifndef _PEI_FLASH_MAP_PPI_H_
|
||||
#define _PEI_FLASH_MAP_PPI_H_
|
||||
|
||||
#include <common/FlashMap.h>
|
||||
|
||||
#define PEI_FLASH_MAP_PPI_GUID \
|
||||
{ 0xf34c2fa0, 0xde88, 0x4270, {0x84, 0x14, 0x96, 0x12, 0x22, 0xf4, 0x52, 0x1c } }
|
||||
|
||||
typedef struct _PEI_FLASH_MAP_PPI PEI_FLASH_MAP_PPI;
|
||||
//
|
||||
// Functions
|
||||
//
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *PEI_GET_FLASH_AREA_INFO) (
|
||||
IN EFI_PEI_SERVICES **PeiServices,
|
||||
IN PEI_FLASH_MAP_PPI *This,
|
||||
IN EFI_FLASH_AREA_TYPE AreaType,
|
||||
IN EFI_GUID *AreaTypeGuid,
|
||||
OUT UINT32 *NumEntries,
|
||||
OUT EFI_FLASH_SUBAREA_ENTRY **Entries
|
||||
);
|
||||
|
||||
|
||||
struct _PEI_FLASH_MAP_PPI {
|
||||
PEI_GET_FLASH_AREA_INFO GetAreaInfo;
|
||||
};
|
||||
|
||||
extern EFI_GUID gPeiFlashMapPpiGuid;
|
||||
|
||||
#endif
|
@@ -69,7 +69,7 @@
|
||||
gEfiPeiCorePrivateGuid = { 0xd641a0f5, 0xcb7c, 0x4846, { 0xa3, 0x80, 0x1d, 0x01, 0xb4, 0xd9, 0xe3, 0xb9 }}
|
||||
gEfiEndOfPeiSignalPpiGuid = { 0x605EA650, 0xC65C, 0x42e1, { 0xBA, 0x80, 0x91, 0xA5, 0x2A, 0xB6, 0x18, 0xC6 }}
|
||||
gEfiPeiFvFileLoaderPpiGuid = { 0x7e1f0d85, 0x04ff, 0x4bb2, { 0x86, 0x6a, 0x31, 0xa2, 0x99, 0x6a, 0x48, 0xa8 }}
|
||||
|
||||
|
||||
|
||||
################################################################################
|
||||
#
|
||||
@@ -107,7 +107,8 @@
|
||||
[Ppis.common]
|
||||
gPeiBaseMemoryTestPpiGuid = { 0xB6EC423C, 0x21D2, 0x490D, { 0x85, 0xC6, 0xDD, 0x58, 0x64, 0xEA, 0xA6, 0x74 }}
|
||||
gEfiPeiFvFileLoaderPpiGuid = { 0x7e1f0d85, 0x04ff, 0x4bb2, { 0x86, 0x6a, 0x31, 0xa2, 0x99, 0x6a, 0x48, 0xa8 }}
|
||||
|
||||
##gPeiFlashMapPpiGuid will be removed in future
|
||||
gPeiFlashMapPpiGuid = { 0xf34c2fa0, 0xde88, 0x4270, {0x84, 0x14, 0x96, 0x12, 0x22, 0xf4, 0x52, 0x1c } }
|
||||
|
||||
################################################################################
|
||||
#
|
||||
|
Reference in New Issue
Block a user