MdePkg/BaseCpuLib: Remove assembly for CpuFlushTlb
For different compilers, both IA32 and X64 can use Ia32/CpuFlushTlbGcc.c, which is C code (no inline assembly code). To simplify, remove other assemly file for CpuFlushTlb, and rename Ia32/CpuFlushTlbGcc.c to X86CpuFlushTlb.c. Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Ray Ni <ray.ni@intel.com> Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
804e8c6566
commit
e986f4ce96
@@ -4,7 +4,7 @@
|
||||
# CPU Library implemented using ASM functions for IA32, X64, ARM, AARCH64,
|
||||
# PAL CALLs for IPF, and empty functions for EBC.
|
||||
#
|
||||
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2022, Intel Corporation. All rights reserved.<BR>
|
||||
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
||||
# Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>
|
||||
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
|
||||
@@ -31,16 +31,12 @@
|
||||
|
||||
[Sources.IA32]
|
||||
Ia32/CpuSleep.c | MSFT
|
||||
Ia32/CpuFlushTlb.c | MSFT
|
||||
|
||||
Ia32/CpuSleep.nasm| INTEL
|
||||
Ia32/CpuFlushTlb.nasm| INTEL
|
||||
|
||||
Ia32/CpuSleepGcc.c | GCC
|
||||
Ia32/CpuFlushTlbGcc.c | GCC
|
||||
X86CpuFlushTlb.c
|
||||
|
||||
[Sources.X64]
|
||||
X64/CpuFlushTlb.nasm
|
||||
X86CpuFlushTlb.c
|
||||
X64/CpuSleep.nasm
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user