3 Copyright (c) 1999-2006 Intel Corporation. All rights reserved
4 This program and the accompanying materials are licensed and made available
5 under the terms and conditions of the BSD License which accompanies this
6 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.
19 Definitions for the PeiRebase exe utility.
23 #ifndef _EFI_PEIM_FIXUP_EXE_H
24 #define _EFI_PEIM_FIXUP_EXE_H
26 #include <Common/FirmwareVolumeImageFormat.h>
27 #include <Common/FirmwareFileSystem.h>
28 #include <Common/FirmwareVolumeHeader.h>
29 #include <Common/MultiPhase.h>
34 #define UTILITY_NAME "PeiRebase"
37 // Utility version information
39 #define UTILITY_MAJOR_VERSION 0
40 #define UTILITY_MINOR_VERSION 1
41 #define UTILITY_DATE __DATE__
44 // The maximum number of arguments accepted from the command line.
49 // The file copy buffer size
51 #define FILE_COPY_BUFFER_SIZE 512
54 // The function that displays general utility information
64 GC_TODO: Add function description
72 GC_TODO: add return values
78 // The function that displays the utility usage message.
88 GC_TODO: Add function description
96 GC_TODO: add return values
102 // Internal function declarations
108 IN OUT UINT32
*ReadSize
,
115 GC_TODO: Add function description
119 FileHandle - GC_TODO: add argument description
120 FileOffset - GC_TODO: add argument description
121 ReadSize - GC_TODO: add argument description
122 Buffer - GC_TODO: add argument description
126 GC_TODO: add return values
133 IN OUT EFI_FFS_FILE_HEADER
*FfsFile
,
135 IN OUT EFI_PHYSICAL_ADDRESS XipBase
,
136 IN OUT EFI_PHYSICAL_ADDRESS
*BsBase
,
137 IN OUT EFI_PHYSICAL_ADDRESS
*RtBase
,
144 GC_TODO: Add function description
148 FfsFile - GC_TODO: add argument description
149 BaseAddress - GC_TODO: add argument description
153 GC_TODO: add return values