From 19f17070788759d3082acc27695cddfcd81855db Mon Sep 17 00:00:00 2001 From: lgao4 Date: Thu, 5 Feb 2009 03:15:10 +0000 Subject: [PATCH] Remove FlashMap Ppi that has been replaced by Flash related PCDs. Remove OperatorPresence Ppi that is only related to TCG driver, which should be not in this package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7435 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Include/Ppi/FlashMap.h | 56 --------------------- MdeModulePkg/Include/Ppi/OperatorPresence.h | 29 ----------- MdeModulePkg/MdeModulePkg.dec | 7 --- 3 files changed, 92 deletions(-) delete mode 100644 MdeModulePkg/Include/Ppi/FlashMap.h delete mode 100644 MdeModulePkg/Include/Ppi/OperatorPresence.h diff --git a/MdeModulePkg/Include/Ppi/FlashMap.h b/MdeModulePkg/Include/Ppi/FlashMap.h deleted file mode 100644 index 1bd0e727fb..0000000000 --- a/MdeModulePkg/Include/Ppi/FlashMap.h +++ /dev/null @@ -1,56 +0,0 @@ -/** @file - - FlashMap PPI abstracts access to FlashMap information. - -Copyright (c) 2006 - 2008, 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. - -**/ - -#ifndef _PEI_FLASH_MAP_PPI_H_ -#define _PEI_FLASH_MAP_PPI_H_ - -#include - -#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; - -/** - Get flash region information. - - @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation. - @param This Pointer to the FlashMap PPI instance - @param AreaType Flash Area Type - @param AreaTypeGuid Pointer to Guid for Flash Area Type - @param NumEntries Pointer to the number of entries for the total flash area. - @param Entries Pointer to the entry list. - - @retval EFI_SUCESS Get flash area information successfully. - @retval EFI_NOT_FOUND No flash area information is found. -**/ -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 diff --git a/MdeModulePkg/Include/Ppi/OperatorPresence.h b/MdeModulePkg/Include/Ppi/OperatorPresence.h deleted file mode 100644 index ba8901679b..0000000000 --- a/MdeModulePkg/Include/Ppi/OperatorPresence.h +++ /dev/null @@ -1,29 +0,0 @@ -/** @file - This file defines OperatorPresent PPI. It is responsible for detecting TPM operator presence. - -Copyright (c) 2006 - 2008, 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. - -**/ - -#ifndef _PEI_OPERATOR_PRESENCE_H_ -#define _PEI_OPERATOR_PRESENCE_H_ - -#define PEI_OPERATOR_PRESENCE_PPI_GUID \ - { 0x20a7378c, 0xaa83, 0x4ce1, {0x82, 0x1f, 0x47, 0x40, 0xee, 0x1b, 0x3f, 0x9f } } - -typedef struct _PEI_OPERATOR_PRESENCE_PPI PEI_OPERATOR_PRESENCE_PPI; - -struct _PEI_OPERATOR_PRESENCE_PPI { - BOOLEAN OperatorPresent; ///> TRUE if TPM Operator is detected. -}; - -extern EFI_GUID gPeiOperatorPresencePpiGuid; - -#endif // _PEI_OPERATOR_PRESENCE_H_ diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 6675ffb7fb..97133869d2 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -224,13 +224,6 @@ ## Pei memory test PPI used to Perform memory test in PEI phase. gPeiBaseMemoryTestPpiGuid = { 0xB6EC423C, 0x21D2, 0x490D, { 0x85, 0xC6, 0xDD, 0x58, 0x64, 0xEA, 0xA6, 0x74 }} - ## FlashMap PPI abstracts access to FlashMap information. - # gPeiFlashMapPpiGuid will be removed in future. - gPeiFlashMapPpiGuid = { 0xf34c2fa0, 0xde88, 0x4270, {0x84, 0x14, 0x96, 0x12, 0x22, 0xf4, 0x52, 0x1c } } - - ## OperatorPresent PPI responsible for detecting TPM operator presence. - gPeiOperatorPresencePpiGuid = { 0x20a7378c, 0xaa83, 0x4ce1, {0x82, 0x1f, 0x47, 0x40, 0xee, 0x1b, 0x3f, 0x9f } } - [PcdsFeatureFlag.common] ## Indicate whether platform can support update capsule across a system reset gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE|BOOLEAN|0x0001001d -- 2.39.2