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