]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/ResetVector/CommonMacros.inc
OVMF ResetVector: Modify interface with SEC module
[mirror_edk2.git] / OvmfPkg / ResetVector / CommonMacros.inc
index 19c6d07a3f3cdeb152388338235972b2f9e3c879..c25c8663ed46f3c3d7474497aaa1310f826cda57 100644 (file)
@@ -1,4 +1,6 @@
 ;------------------------------------------------------------------------------\r
+; @file\r
+; Common macros used in the ResetVector VTF module.\r
 ;\r
 ; Copyright (c) 2008, Intel Corporation\r
 ; All rights reserved. This program and the accompanying materials\r
 ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 ;\r
-; Module Name:\r
-;\r
-;   CommonMacros.inc\r
-;\r
-; Abstract:\r
-;\r
-;   Common macros used in the ResetVector VTF module.\r
-;\r
 ;------------------------------------------------------------------------------\r
 \r
 %define ADDR16_OF(x) (0x10000 - fourGigabytes + x)\r
 %define ADDR_OF(x) (0x100000000 - fourGigabytes + x)\r
 \r
-%macro  callEdx 1\r
-    mov     edx, ADDR_OF(%%returnLabel)\r
-    jmp     %1\r
-%%returnLabel:\r
-%endmacro\r
-\r
 %macro  OneTimeCall 1\r
     jmp     %1\r
 %1 %+ OneTimerCallReturn:\r