mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-10-31 15:06:49 +00:00 
			
		
		
		
	 9344f09215
			
		
	
	
		9344f09215
		
	
	
	
	
		
			
			https://bugzilla.tianocore.org/show_bug.cgi?id=1373 Replace BSD 2-Clause License with BSD+Patent License. This change is based on the following emails: https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html RFCs with detailed process for the license change: V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
		
			
				
	
	
		
			63 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /** @file
 | |
|   This file provides location and format of a firmware volume.
 | |
| 
 | |
|   Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
 | |
|   SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| 
 | |
|   @par Revision Reference:
 | |
|   This PPI is introduced in PI Version 1.0.
 | |
| 
 | |
| **/
 | |
| 
 | |
| #ifndef __EFI_PEI_FIRMWARE_VOLUME_INFO_H__
 | |
| #define __EFI_PEI_FIRMWARE_VOLUME_INFO_H__
 | |
| 
 | |
| 
 | |
| 
 | |
| #define EFI_PEI_FIRMWARE_VOLUME_INFO_PPI_GUID \
 | |
| { 0x49edb1c1, 0xbf21, 0x4761, { 0xbb, 0x12, 0xeb, 0x0, 0x31, 0xaa, 0xbb, 0x39 } }
 | |
| 
 | |
| typedef struct _EFI_PEI_FIRMWARE_VOLUME_INFO_PPI  EFI_PEI_FIRMWARE_VOLUME_INFO_PPI;
 | |
| 
 | |
| ///
 | |
| ///  This PPI describes the location and format of a firmware volume.
 | |
| ///  The FvFormat can be EFI_FIRMWARE_FILE_SYSTEM2_GUID or the GUID for
 | |
| ///  a user-defined format. The  EFI_FIRMWARE_FILE_SYSTEM2_GUID is
 | |
| ///  the PI Firmware Volume format.
 | |
| ///
 | |
| struct _EFI_PEI_FIRMWARE_VOLUME_INFO_PPI {
 | |
|   ///
 | |
|   /// Unique identifier of the format of the memory-mapped firmware volume.
 | |
|   ///
 | |
|   EFI_GUID  FvFormat;
 | |
|   ///
 | |
|   /// Points to a buffer which allows the EFI_PEI_FIRMWARE_VOLUME_PPI to process
 | |
|   /// the volume. The format of this buffer is specific to the FvFormat.
 | |
|   /// For memory-mapped firmware volumes, this typically points to the first byte
 | |
|   /// of the firmware volume.
 | |
|   ///
 | |
|   VOID      *FvInfo;
 | |
|   ///
 | |
|   /// Size of the data provided by FvInfo. For memory-mapped firmware volumes,
 | |
|   /// this is typically the size of the firmware volume.
 | |
|   ///
 | |
|   UINT32    FvInfoSize;
 | |
|   ///
 | |
|   /// If the firmware volume originally came from a firmware file, then these
 | |
|   /// point to the parent firmware volume name and firmware volume file.
 | |
|   /// If it did not originally come from a firmware file, these should be NULL.
 | |
|   ///
 | |
|   EFI_GUID  *ParentFvName;
 | |
|   ///
 | |
|   /// If the firmware volume originally came from a firmware file, then these
 | |
|   /// point to the parent firmware volume name and firmware volume file.
 | |
|   /// If it did not originally come from a firmware file, these should be NULL.
 | |
|   ///
 | |
|   EFI_GUID  *ParentFileName;
 | |
| };
 | |
| 
 | |
| extern EFI_GUID gEfiPeiFirmwareVolumeInfoPpiGuid;
 | |
| 
 | |
| #endif
 | |
| 
 |