]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/TianoTools/SecFixup/SecFixup.h
5571dc34a2a5078a1a1d6a9333bec1b21ebd6818
[mirror_edk2.git] / Tools / Source / TianoTools / SecFixup / SecFixup.h
1 /*++
2
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
10 Intel Corporation.
11
12
13 Module Name:
14
15 SecFixup.h
16
17 Abstract:
18
19 Definitions for the SecFixup utility.
20
21 --*/
22
23 #ifndef _SEC_FIXUP_H
24 #define _SEC_FIXUP_H
25
26 //
27 // Utility Name
28 //
29 #define UTILITY_NAME "SecFixup"
30
31 //
32 // Utility version information
33 //
34 #define UTILITY_MAJOR_VERSION 0
35 #define UTILITY_MINOR_VERSION 1
36 #define UTILITY_DATE __DATE__
37
38 //
39 // The maximum number of arguments accepted from the command line.
40 //
41 #define MAX_ARGS 4
42
43 #define DEST_REL_OFFSET 13
44 #define BUF_SIZE (8 * 1024)
45
46 //
47 // The function that displays general utility information
48 //
49 VOID
50 PrintUtilityInfo (
51 VOID
52 )
53 /*++
54
55 Routine Description:
56
57 GC_TODO: Add function description
58
59 Arguments:
60
61 None
62
63 Returns:
64
65 GC_TODO: add return values
66
67 --*/
68 ;
69
70 //
71 // The function that displays the utility usage message.
72 //
73 VOID
74 PrintUsage (
75 VOID
76 )
77 /*++
78
79 Routine Description:
80
81 GC_TODO: Add function description
82
83 Arguments:
84
85 None
86
87 Returns:
88
89 GC_TODO: add return values
90
91 --*/
92 ;
93
94 //
95 // The function that gets the entry point of a PE/TE file.
96 //
97 STATUS
98 GetEntryPoint (
99 IN FILE *ExeFile,
100 OUT UINT32 *EntryPoint
101 )
102 /*++
103
104 Routine Description:
105
106 GC_TODO: Add function description
107
108 Arguments:
109
110 ExeFile - GC_TODO: add argument description
111 EntryPoint - GC_TODO: add argument description
112
113 Returns:
114
115 GC_TODO: add return values
116
117 --*/
118 ;
119
120 //
121 // The function that copies a file.
122 //
123 STATUS
124 CopyFile (
125 FILE *FpIn,
126 FILE *FpOut
127 )
128 /*++
129
130 Routine Description:
131
132 GC_TODO: Add function description
133
134 Arguments:
135
136 FpIn - GC_TODO: add argument description
137 FpOut - GC_TODO: add argument description
138
139 Returns:
140
141 GC_TODO: add return values
142
143 --*/
144 ;
145
146 #endif