]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/TianoTools/SecApResetVectorFixup/SecApResetVectorFixup.h
a41fc3af7bef33237fcb3e0d5365bc2ea37cea21
[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 <UefiBaseTypes.h>
29 #include <Base.h>
30 #include "EfiImage.h"
31 #include <FirmwareVolumeImageFormat.h>
32 #include "FirmwareFileSystem.h"
33 #include "FirmwareVolumeHeader.h"
34 #include "EfiUtilityMsgs.c"
35 #include "CommonLib.h"
36
37
38 //
39 // Utility Name
40 //
41 #define UTILITY_NAME "SecApResetVectorFixup"
42
43 //
44 // Utility version information
45 //
46 #define UTILITY_MAJOR_VERSION 0
47 #define UTILITY_MINOR_VERSION 1
48 #define UTILITY_DATE __DATE__
49
50 //
51 // The maximum number of arguments accepted from the command line.
52 //
53 #define MAX_ARGS 3
54 #define BUF_SIZE (8 * 1024)
55
56 #define GETOCCUPIEDSIZE(ActualSize, Alignment) \
57 (ActualSize) + (((Alignment) - ((ActualSize) & ((Alignment) - 1))) & ((Alignment) - 1))
58
59
60 VOID
61 PrintUtilityInfo (
62 VOID
63 )
64 /*++
65
66 Routine Description:
67
68 Displays the standard utility information to SDTOUT
69
70 Arguments:
71
72 None
73
74 Returns:
75
76 None
77
78 --*/
79 ;
80
81 VOID
82 PrintUsage (
83 VOID
84 )
85 /*++
86
87 Routine Description:
88
89 Displays the utility usage syntax to STDOUT
90
91 Arguments:
92
93 None
94
95 Returns:
96
97 None
98
99 --*/
100 ;
101
102
103 #endif