]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/TianoTools/SecApResetVectorFixup/SecApResetVectorFixup.h
Adding Additional Tools that are needed for Platform Image creation.
[mirror_edk2.git] / Tools / Source / TianoTools / SecApResetVectorFixup / SecApResetVectorFixup.h
1 /*++
2
3 Copyright (c) 2005 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 SecApResetVectorFixup.h
16
17 Abstract:
18
19 Definitions for the SecApResetVectorFixup utility.
20
21 --*/
22
23 #ifndef _SEC_AP_RESET_VECTOR_FIXUP_H
24 #define _SEC_AP_RESET_VECTOR_FIXUP_H
25
26 #include <stdio.h>
27 #include <stdlib.h>
28 #include "EfiCommon.h"
29 #include "EfiImage.h"
30 #include "EfiImageFormat.h"
31 #include "EfiFirmwareFileSystem.h"
32 #include "EfiFirmwareVolumeHeader.h"
33 #include "EfiUtilityMsgs.c"
34 #include "CommonLib.h"
35
36
37 //
38 // Utility Name
39 //
40 #define UTILITY_NAME "SecApResetVectorFixup"
41
42 //
43 // Utility version information
44 //
45 #define UTILITY_MAJOR_VERSION 0
46 #define UTILITY_MINOR_VERSION 1
47 #define UTILITY_DATE __DATE__
48
49 //
50 // The maximum number of arguments accepted from the command line.
51 //
52 #define MAX_ARGS 3
53 #define BUF_SIZE (8 * 1024)
54
55 #define GETOCCUPIEDSIZE(ActualSize, Alignment) \
56 (ActualSize) + (((Alignment) - ((ActualSize) & ((Alignment) - 1))) & ((Alignment) - 1))
57
58
59 VOID
60 PrintUtilityInfo (
61 VOID
62 )
63 /*++
64
65 Routine Description:
66
67 Displays the standard utility information to SDTOUT
68
69 Arguments:
70
71 None
72
73 Returns:
74
75 None
76
77 --*/
78 ;
79
80 VOID
81 PrintUsage (
82 VOID
83 )
84 /*++
85
86 Routine Description:
87
88 Displays the utility usage syntax to STDOUT
89
90 Arguments:
91
92 None
93
94 Returns:
95
96 None
97
98 --*/
99 ;
100
101
102 #endif