3 Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved
4 This software and associated documentation (if any) is furnished
5 under a license and may only be used or copied in accordance
6 with the terms of the license. Except as permitted by such
7 license, no part of this software or documentation may be
8 reproduced, stored in a retrieval system, or transmitted in any
9 form or by any means without the express written consent of
19 Definitions for the PeiRebase exe utility.
23 #ifndef _EFI_PEIM_FIXUP_EXE_H
24 #define _EFI_PEIM_FIXUP_EXE_H
26 // #include "Efi2WinNt.h"
27 #include "FirmwareFileSystem.h"
28 #include "FirmwareVolumeHeader.h"
29 #include "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
,
134 IN EFI_PHYSICAL_ADDRESS BaseAddress
140 GC_TODO: Add function description
144 FfsFile - GC_TODO: add argument description
145 BaseAddress - GC_TODO: add argument description
149 GC_TODO: add return values