3 Copyright (c) 1999 - 2008, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 FirmwareVolumeBufferLib.h
18 EFI Firmware Volume routines which work on a Fv image in buffers.
22 #ifndef FirmwareVolumeBuffer_h_INCLUDED
23 #define FirmwareVolumeBuffer_h_INCLUDED
25 #include "Common/UefiBaseTypes.h"
26 #include "Common/PiFirmwareFile.h"
27 #include "Common/PiFirmwareVolume.h"
36 FvBufAddFileWithExtend (
63 FvBufCompact3ByteSize (
77 IN OUT VOID
**DestinationFv
81 FvBufExpand3ByteSize (
101 IN EFI_FV_FILETYPE Type
,
113 FvBufFindNextSection (
114 IN VOID
*SectionsStart
,
115 IN UINTN TotalSectionsSize
,
121 FvBufFindSectionByType (
128 FvBufGetFileRawData (
131 OUT UINTN
* RawDataSize
141 FvBufPackageFreeformRawFile (
142 IN EFI_GUID
* Filename
,
144 IN UINTN RawDataSize
,
155 FvBufUnifyBlockSizes (
165 #endif // #ifndef FirmwareVolumeBuffer_h_INCLUDED