]>
Commit | Line | Data |
---|---|---|
d25c4bf0 | 1 | /*++\r |
2 | \r | |
56fe62ce | 3 | Copyright (c) 1999-2006 Intel Corporation. All rights reserved\r |
4 | This program and the accompanying materials are licensed and made available\r | |
5 | under the terms and conditions of the BSD License which accompanies this\r | |
6 | distribution. The full text of the license may be found at\r | |
7 | http://opensource.org/licenses/bsd-license.php\r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
d25c4bf0 | 11 | \r |
12 | \r | |
13 | Module Name:\r | |
56fe62ce | 14 | \r |
d25c4bf0 | 15 | SecApResetVectorFixup.h\r |
16 | \r | |
17 | Abstract:\r | |
18 | \r | |
19 | Definitions for the SecApResetVectorFixup utility.\r | |
20 | \r | |
21 | --*/\r | |
22 | \r | |
23 | #ifndef _SEC_AP_RESET_VECTOR_FIXUP_H\r | |
24 | #define _SEC_AP_RESET_VECTOR_FIXUP_H\r | |
25 | \r | |
26 | #include <stdio.h>\r | |
27 | #include <stdlib.h>\r | |
ce53a8c3 | 28 | \r |
29 | #include <Common/UefiBaseTypes.h>\r | |
30 | #include <Common/EfiImage.h>\r | |
31 | #include <Common/FirmwareVolumeImageFormat.h>\r | |
32 | #include <Common/FirmwareFileSystem.h>\r | |
33 | #include <Common/FirmwareVolumeHeader.h>\r | |
34 | \r | |
d25c4bf0 | 35 | #include "EfiUtilityMsgs.c"\r |
36 | #include "CommonLib.h"\r | |
37 | \r | |
38 | \r | |
39 | //\r | |
40 | // Utility Name\r | |
41 | //\r | |
42 | #define UTILITY_NAME "SecApResetVectorFixup"\r | |
43 | \r | |
44 | //\r | |
45 | // Utility version information\r | |
46 | //\r | |
47 | #define UTILITY_MAJOR_VERSION 0\r | |
48 | #define UTILITY_MINOR_VERSION 1\r | |
49 | #define UTILITY_DATE __DATE__\r | |
50 | \r | |
51 | //\r | |
52 | // The maximum number of arguments accepted from the command line.\r | |
53 | //\r | |
54 | #define MAX_ARGS 3\r | |
55 | #define BUF_SIZE (8 * 1024)\r | |
56 | \r | |
57 | #define GETOCCUPIEDSIZE(ActualSize, Alignment) \\r | |
58 | (ActualSize) + (((Alignment) - ((ActualSize) & ((Alignment) - 1))) & ((Alignment) - 1))\r | |
59 | \r | |
60 | \r | |
61 | VOID\r | |
62 | PrintUtilityInfo (\r | |
63 | VOID\r | |
64 | )\r | |
65 | /*++\r | |
66 | \r | |
67 | Routine Description:\r | |
68 | \r | |
69 | Displays the standard utility information to SDTOUT\r | |
70 | \r | |
71 | Arguments:\r | |
72 | \r | |
73 | None\r | |
74 | \r | |
75 | Returns:\r | |
76 | \r | |
77 | None\r | |
78 | \r | |
79 | --*/\r | |
80 | ;\r | |
81 | \r | |
82 | VOID\r | |
83 | PrintUsage (\r | |
84 | VOID\r | |
85 | )\r | |
86 | /*++\r | |
87 | \r | |
88 | Routine Description:\r | |
89 | \r | |
90 | Displays the utility usage syntax to STDOUT\r | |
91 | \r | |
92 | Arguments:\r | |
93 | \r | |
94 | None\r | |
95 | \r | |
96 | Returns:\r | |
97 | \r | |
98 | None\r | |
99 | \r | |
100 | --*/\r | |
101 | ;\r | |
102 | \r | |
103 | \r | |
104 | #endif\r |