From 2fba7d4ee4a78c26cf6c3b97a99f38d43f80b3ff Mon Sep 17 00:00:00 2001 From: Ray Ni Date: Tue, 9 Feb 2021 21:58:01 +0800 Subject: 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 Reviewed-by: Eric Dong Acked-by: Laszlo Ersek Cc: Rahul Kumar --- UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf') 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.
+# Copyright (c) 2016 - 2021, Intel Corporation. All rights reserved.
# 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 -- cgit v1.2.3