]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Source/TianoTools/PeiRebase/PeiRebaseExe.h
Adding Additional Tools that are needed for Platform Image creation.
[mirror_edk2.git] / Tools / Source / TianoTools / PeiRebase / PeiRebaseExe.h
CommitLineData
d25c4bf0 1/*++\r
2\r
3Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved\r
4This software and associated documentation (if any) is furnished\r
5under a license and may only be used or copied in accordance\r
6with the terms of the license. Except as permitted by such\r
7license, no part of this software or documentation may be\r
8reproduced, stored in a retrieval system, or transmitted in any\r
9form or by any means without the express written consent of\r
10Intel Corporation.\r
11\r
12\r
13Module Name:\r
14 \r
15 PeiRebaseExe.h\r
16\r
17Abstract:\r
18\r
19 Definitions for the PeiRebase exe utility.\r
20\r
21--*/\r
22\r
23#ifndef _EFI_PEIM_FIXUP_EXE_H\r
24#define _EFI_PEIM_FIXUP_EXE_H\r
25\r
26#include "Efi2WinNt.h"\r
27#include "EfiFirmwareFileSystem.h"\r
28#include "EfiFirmwareVolumeHeader.h"\r
29\r
30//\r
31// Utility Name\r
32//\r
33#define UTILITY_NAME "PeiRebase"\r
34\r
35//\r
36// Utility version information\r
37//\r
38#define UTILITY_MAJOR_VERSION 0\r
39#define UTILITY_MINOR_VERSION 1\r
40#define UTILITY_DATE __DATE__\r
41\r
42//\r
43// The maximum number of arguments accepted from the command line.\r
44//\r
45#define MAX_ARGS 7\r
46\r
47//\r
48// The file copy buffer size\r
49//\r
50#define FILE_COPY_BUFFER_SIZE 512\r
51\r
52//\r
53// The function that displays general utility information\r
54//\r
55VOID\r
56PrintUtilityInfo (\r
57 VOID\r
58 )\r
59/*++\r
60\r
61Routine Description:\r
62\r
63 GC_TODO: Add function description\r
64\r
65Arguments:\r
66\r
67 None\r
68\r
69Returns:\r
70\r
71 GC_TODO: add return values\r
72\r
73--*/\r
74;\r
75\r
76//\r
77// The function that displays the utility usage message.\r
78//\r
79VOID\r
80PrintUsage (\r
81 VOID\r
82 )\r
83/*++\r
84\r
85Routine Description:\r
86\r
87 GC_TODO: Add function description\r
88\r
89Arguments:\r
90\r
91 None\r
92\r
93Returns:\r
94\r
95 GC_TODO: add return values\r
96\r
97--*/\r
98;\r
99\r
100//\r
101// Internal function declarations\r
102//\r
103EFI_STATUS\r
104FfsRebaseImageRead (\r
105 IN VOID *FileHandle,\r
106 IN UINTN FileOffset,\r
107 IN OUT UINT32 *ReadSize,\r
108 OUT VOID *Buffer\r
109 )\r
110/*++\r
111\r
112Routine Description:\r
113\r
114 GC_TODO: Add function description\r
115\r
116Arguments:\r
117\r
118 FileHandle - GC_TODO: add argument description\r
119 FileOffset - GC_TODO: add argument description\r
120 ReadSize - GC_TODO: add argument description\r
121 Buffer - GC_TODO: add argument description\r
122\r
123Returns:\r
124\r
125 GC_TODO: add return values\r
126\r
127--*/\r
128;\r
129\r
130EFI_STATUS\r
131FfsRebase (\r
132 IN OUT EFI_FFS_FILE_HEADER *FfsFile,\r
133 IN EFI_PHYSICAL_ADDRESS BaseAddress\r
134 )\r
135/*++\r
136\r
137Routine Description:\r
138\r
139 GC_TODO: Add function description\r
140\r
141Arguments:\r
142\r
143 FfsFile - GC_TODO: add argument description\r
144 BaseAddress - GC_TODO: add argument description\r
145\r
146Returns:\r
147\r
148 GC_TODO: add return values\r
149\r
150--*/\r
151;\r
152\r
153#endif\r