]>
git.proxmox.com Git - mirror_edk2.git/blob - Tools/CCode/Source/SecApResetVectorFixup/SecApResetVectorFixup.h
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
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.
15 SecApResetVectorFixup.h
19 Definitions for the SecApResetVectorFixup utility.
23 #ifndef _SEC_AP_RESET_VECTOR_FIXUP_H
24 #define _SEC_AP_RESET_VECTOR_FIXUP_H
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>
35 #include "EfiUtilityMsgs.c"
36 #include "CommonLib.h"
42 #define UTILITY_NAME "SecApResetVectorFixup"
45 // Utility version information
47 #define UTILITY_MAJOR_VERSION 0
48 #define UTILITY_MINOR_VERSION 1
49 #define UTILITY_DATE __DATE__
52 // The maximum number of arguments accepted from the command line.
55 #define BUF_SIZE (8 * 1024)
57 #define GETOCCUPIEDSIZE(ActualSize, Alignment) \
58 (ActualSize) + (((Alignment) - ((ActualSize) & ((Alignment) - 1))) & ((Alignment) - 1))
69 Displays the standard utility information to SDTOUT
90 Displays the utility usage syntax to STDOUT