]>
Commit | Line | Data |
---|---|---|
d25c4bf0 | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2005 Intel Corporation. All rights reserved\r | |
4 | This software and associated documentation (if any) is furnished\r | |
5 | under a license and may only be used or copied in accordance\r | |
6 | with the terms of the license. Except as permitted by such\r | |
7 | license, no part of this software or documentation may be\r | |
8 | reproduced, stored in a retrieval system, or transmitted in any\r | |
9 | form or by any means without the express written consent of\r | |
10 | Intel Corporation.\r | |
11 | \r | |
12 | \r | |
13 | Module Name:\r | |
14 | \r | |
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 |