Update the copyright notice format
[mirror_edk2.git] / UefiCpuPkg / ResetVector / Vtf0 / CommonMacros.inc
CommitLineData
bc252e8e
EB
1;------------------------------------------------------------------------------\r
2; @file\r
3; Common macros used in the ResetVector VTF module.\r
4;\r
01a1c0fc
HT
5; Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>\r
6; This program and the accompanying materials\r
bc252e8e
EB
7; are licensed and made available under the terms and conditions of the BSD License\r
8; which accompanies this distribution. The full text of the license may be found at\r
9; http://opensource.org/licenses/bsd-license.php\r
10;\r
11; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13;\r
14;------------------------------------------------------------------------------\r
15\r
16%define ADDR16_OF(x) (0x10000 - fourGigabytes + x)\r
17%define ADDR_OF(x) (0x100000000 - fourGigabytes + x)\r
18\r
19%macro OneTimeCall 1\r
20 jmp %1\r
21%1 %+ OneTimerCallReturn:\r
22%endmacro\r
23\r
24%macro OneTimeCallRet 1\r
25 jmp %1 %+ OneTimerCallReturn\r
26%endmacro\r
27\r
28StartOfResetVectorCode:\r
29\r
30%define ADDR_OF_START_OF_RESET_CODE ADDR_OF(StartOfResetVectorCode)\r
31\r