+++ /dev/null
-/** @file\r
-Definition of Pei Core Structures and Services\r
-\r
-Copyright (c) 2013 Intel Corporation.\r
-\r
-SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-**/\r
-\r
-#ifndef _PEI_FV_SECURITY_H_\r
-#define _PEI_FV_SECURITY_H_\r
-\r
-#include <Ppi/FirmwareVolume.h>\r
-#include <Ppi/FirmwareVolumeInfo.h>\r
-#include <Library/DebugLib.h>\r
-#include <Library/PeiServicesLib.h>\r
-#include <Library/MemoryAllocationLib.h>\r
-\r
-/**\r
- Callback function to perform FV security checking on a FV Info PPI.\r
-\r
- @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation\r
- @param NotifyDescriptor Address of the notification descriptor data structure.\r
- @param Ppi Address of the PPI that was installed.\r
-\r
- @retval EFI_SUCCESS\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-FirmwareVolmeInfoPpiNotifySecurityCallback (\r
- IN EFI_PEI_SERVICES **PeiServices,\r
- IN EFI_PEI_NOTIFY_DESCRIPTOR *NotifyDescriptor,\r
- IN VOID *Ppi\r
- );\r
-\r
-/**\r
- Authenticates the Firmware Volume\r
-\r
- @param CurrentFvAddress Pointer to the current Firmware Volume under consideration\r
-\r
- @retval EFI_SUCCESS Firmware Volume is legal\r
-\r
-**/\r
-EFI_STATUS\r
-PeiSecurityVerifyFv (\r
- IN EFI_FIRMWARE_VOLUME_HEADER *CurrentFvAddress\r
- );\r
-\r
-/**\r
-\r
- Entry point for the PEI Security PEIM\r
- Sets up a notification to perform PEI security checking\r
-\r
- @param FfsHeader Not used.\r
- @param PeiServices General purpose services available to every PEIM.\r
-\r
- @return EFI_SUCCESS PEI Security notification installed successfully.\r
- All others: PEI Security notification failed to install.\r
-\r
-**/\r
-EFI_STATUS\r
-PeiInitializeFvSecurity (\r
- VOID\r
- );\r
-\r
-#endif\r