2008-04-03 06:56:34 +02:00
|
|
|
/** @file
|
2007-06-13 13:11:23 +02:00
|
|
|
This file provides location and format of a firmware volume.
|
|
|
|
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
|
|
|
|
@par Revision Reference:
|
|
|
|
This PPI is defined in PI.
|
|
|
|
Version 1.00
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#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 } }
|
|
|
|
|
2007-06-18 22:28:02 +02:00
|
|
|
typedef struct _EFI_PEI_FIRMWARE_VOLUME_INFO_PPI EFI_PEI_FIRMWARE_VOLUME_INFO_PPI;
|
2007-06-13 13:11:23 +02:00
|
|
|
|
|
|
|
/**
|
2007-06-18 22:28:02 +02:00
|
|
|
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.
|
2007-06-13 13:11:23 +02:00
|
|
|
|
2007-06-18 22:28:02 +02:00
|
|
|
@param FvFormat Unique identifier of the format of the memory-mapped firmware volume.
|
2007-06-13 13:11:23 +02:00
|
|
|
|
2007-06-18 22:28:02 +02:00
|
|
|
@param FvInfo 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.
|
2007-06-13 13:11:23 +02:00
|
|
|
|
2007-06-18 22:28:02 +02:00
|
|
|
@param FvInfoSize Size of the data provided by FvInfo. For memory-mapped firmware volumes,
|
|
|
|
this is typically the size of the firmware volume.
|
2007-06-13 13:11:23 +02:00
|
|
|
|
2007-06-18 22:28:02 +02:00
|
|
|
@param 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.
|
2007-06-13 13:11:23 +02:00
|
|
|
|
2007-06-18 22:28:02 +02:00
|
|
|
@param ParentFileName 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.
|
2007-06-13 13:11:23 +02:00
|
|
|
|
|
|
|
**/
|
|
|
|
struct _EFI_PEI_FIRMWARE_VOLUME_INFO_PPI {
|
2007-06-18 22:28:02 +02:00
|
|
|
EFI_GUID FvFormat;
|
|
|
|
VOID *FvInfo;
|
|
|
|
UINT32 FvInfoSize;
|
|
|
|
EFI_GUID *ParentFvName;
|
|
|
|
EFI_GUID *ParentFileName;
|
2007-06-13 13:11:23 +02:00
|
|
|
};
|
|
|
|
|
2007-06-18 22:28:02 +02:00
|
|
|
extern EFI_GUID gEfiPeiFirmwareVolumeInfoPpiGuid;
|
2007-06-13 13:11:23 +02:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|