diff options
author | Ray Ni <ray.ni@intel.com> | 2021-02-09 21:58:01 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-03-08 02:22:37 +0000 |
commit | 2fba7d4ee4a78c26cf6c3b97a99f38d43f80b3ff (patch) | |
tree | 4ef775e2f819b361417fceaa972df51ef2320c87 /UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf | |
parent | e59760f87e6fdd55f47d11e80455e341219c2be8 (diff) | |
download | edk2-2fba7d4ee4a78c26cf6c3b97a99f38d43f80b3ff.tar.gz edk2-2fba7d4ee4a78c26cf6c3b97a99f38d43f80b3ff.tar.bz2 edk2-2fba7d4ee4a78c26cf6c3b97a99f38d43f80b3ff.zip |
UefiCpuPkg/MpInitLib: Use NASM struc to avoid hardcode offset
In Windows environment, "dumpbin /disasm" is used to verify the
disassembly before and after using NASM struc doesn't change.
Signed-off-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Diffstat (limited to 'UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf')
-rw-r--r-- | UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf b/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf index 1771575c69..860a9750e2 100644 --- a/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf +++ b/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf @@ -1,7 +1,7 @@ ## @file
# MP Initialize Library instance for DXE driver.
#
-# Copyright (c) 2016 - 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2016 - 2021, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -22,14 +22,13 @@ #
[Sources.IA32]
- Ia32/MpEqu.inc
Ia32/MpFuncs.nasm
[Sources.X64]
- X64/MpEqu.inc
X64/MpFuncs.nasm
[Sources.common]
+ MpEqu.inc
DxeMpLib.c
MpLib.c
MpLib.h
|