diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2014-10-15 22:55:36 -0700 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-06-28 09:51:53 +0800 |
commit | 5262695cebf68be86928c7c5a6af5c73d281e858 (patch) | |
tree | 0b8610f3b06c15807be7ab1b56c695138920bd35 /MdeModulePkg/Universal | |
parent | a230845601c7b0b5514dfe372b5e9bfa22f2f606 (diff) | |
download | edk2-platforms-5262695cebf68be86928c7c5a6af5c73d281e858.tar.xz |
MdeModulePkg BootScriptExecutorDxe: EXTERNDEF=>PUBLIC in S3Asm
NASM doesn't support EXTERNDEF, so convert this to PUBLIC.
This will make it easier to convert this code to NASM using an
automated script.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/S3Asm.asm | 4 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/X64/S3Asm.asm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/S3Asm.asm b/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/S3Asm.asm index a040517aad..2fc14a1e28 100644 --- a/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/S3Asm.asm +++ b/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/S3Asm.asm @@ -17,8 +17,8 @@ .model flat,C
.code
-EXTERNDEF AsmFixAddress16:DWORD
-EXTERNDEF AsmJmpAddr32:DWORD
+PUBLIC AsmFixAddress16
+PUBLIC AsmJmpAddr32
;-----------------------------------------
;VOID
diff --git a/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/X64/S3Asm.asm b/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/X64/S3Asm.asm index b2d85ae94f..4422f22fe7 100644 --- a/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/X64/S3Asm.asm +++ b/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/X64/S3Asm.asm @@ -19,8 +19,8 @@ EXTERN PageFaultHandler:PROC .code
-EXTERNDEF AsmFixAddress16:DWORD
-EXTERNDEF AsmJmpAddr32:DWORD
+PUBLIC AsmFixAddress16
+PUBLIC AsmJmpAddr32
AsmTransferControl PROC
; rcx S3WakingVector :DWORD
|