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 "EfiFirmwareFileSystem.h"
28 #include "EfiFirmwareVolumeHeader.h"
33 #define UTILITY_NAME "PeiRebase"
36 // Utility version information
38 #define UTILITY_MAJOR_VERSION 0
39 #define UTILITY_MINOR_VERSION 1
40 #define UTILITY_DATE __DATE__
43 // The maximum number of arguments accepted from the command line.
48 // The file copy buffer size
50 #define FILE_COPY_BUFFER_SIZE 512
53 // The function that displays general utility information
63 GC_TODO: Add function description
71 GC_TODO: add return values
77 // The function that displays the utility usage message.
87 GC_TODO: Add function description
95 GC_TODO: add return values
101 // Internal function declarations
107 IN OUT UINT32
*ReadSize
,
114 GC_TODO: Add function description
118 FileHandle - GC_TODO: add argument description
119 FileOffset - GC_TODO: add argument description
120 ReadSize - GC_TODO: add argument description
121 Buffer - GC_TODO: add argument description
125 GC_TODO: add return values
132 IN OUT EFI_FFS_FILE_HEADER
*FfsFile
,
133 IN EFI_PHYSICAL_ADDRESS BaseAddress
139 GC_TODO: Add function description
143 FfsFile - GC_TODO: add argument description
144 BaseAddress - GC_TODO: add argument description
148 GC_TODO: add return values