X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkNt32Pkg%2FPei%2FFlashMap%2FFlashMap.msa;h=3bf00a08bca013a5de5481f2355ebf9738db775b;hp=1a098cf057feca35b71730d0aa16d4c975ce8eab;hb=d57e875ca3aac3249751b18db03921b6f0cff5fe;hpb=202c5d55e5a5a1f065038cda8316ad36293aa6bb diff --git a/EdkNt32Pkg/Pei/FlashMap/FlashMap.msa b/EdkNt32Pkg/Pei/FlashMap/FlashMap.msa index 1a098cf057..3bf00a08bc 100644 --- a/EdkNt32Pkg/Pei/FlashMap/FlashMap.msa +++ b/EdkNt32Pkg/Pei/FlashMap/FlashMap.msa @@ -1,13 +1,5 @@ - - + PeiFlashMap PEIM @@ -15,7 +7,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.--> 1.0 Component description file for FlashMap PEI module This module installs FlashMap PPI which is used to get flash layout information. - Copyright (c) 2006, Intel Corporation + Copyright (c) 2006 - 2007, 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 @@ -42,9 +34,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.--> PeiServicesLib - - PeiServicesTablePointerLib - BaseMemoryLib @@ -58,7 +47,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.--> - + @@ -66,6 +55,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.--> gEfiFirmwareVolumeBlockProtocolGuid + + + GUID_EXTENSION + + gPeiFlashMapPpiGuid @@ -75,15 +69,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.--> - - gEfiFlashMapHobGuid - gEfiFirmwareFileSystemGuid - - gEfiSystemNvDataHobGuid - EFI_SPECIFICATION_VERSION 0x00020000 @@ -96,32 +84,36 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.--> PcdFlashNvStorageVariableBase gEfiGenericPlatformTokenSpaceGuid - The driver sets the NV Storage FV base address defined by this PCD. + The driver sets the NV Storage FV base address defined by this PCD. This base address point to an EFI_FIRMWARE_VOLUMN_HEADER struct. Variable PEIM will get the base address from this PCD. In NT emulator, this PCD is a DYNAMIC - type, as FD is mapped to process space by WinNT OS. On real platform, it is - normally a FIXED_AT_BUILD type as system memory map is fixed to BIOS. - + type, as FD is mapped to process space by WinNT OS. On real platform, it is + normally a FIXED_AT_BUILD type as system memory map is fixed to BIOS. - + + PcdFlashNvStorageVariableSize + gEfiGenericPlatformTokenSpaceGuid + To get the NvStorage Variable size from this PCD. + + PcdFlashNvStorageFtwSpareBase gEfiGenericPlatformTokenSpaceGuid To get base address of the FTW spare block section in NV firmware volume. - + PcdFlashNvStorageFtwSpareSize gEfiGenericPlatformTokenSpaceGuid To get size of the FTW spare block section in NV firmware volume. - + PcdFlashNvStorageFtwWorkingBase gEfiGenericPlatformTokenSpaceGuid To get base address of the FTW working block section in NV firmware volume. - + PcdFlashNvStorageFtwWorkingSize gEfiGenericPlatformTokenSpaceGuid To get size of the FTW working block section in NV firmware volume. - +