]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/TianoTools/SecApResetVectorFixup/SecApResetVectorFixup.h
Removed one useless makefile, and corrected some BSD licenses
[mirror_edk2.git] / Tools / Source / TianoTools / SecApResetVectorFixup / SecApResetVectorFixup.h
1 /*++
2
3 Copyright (c) 1999-2006 Intel Corporation. All rights reserved
4 This program and the accompanying materials are licensed and made available
5 under the terms and conditions of the BSD License which accompanies this
6 distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
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