mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-21 20:54:29 +02:00
MdePkg/BaseLib: Break out IA32/X64 GCC inline privileged functions
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2800 Break out the IA32/X64 GCC inline functions that can not be used in a unit test host application into their own source file. This does not make any changes to the BaseLib library instance. This is in preparation for a new BaseLib instances that is safe to use with host-based unit test applications. Cc: Liming Gao <liming.gao@intel.com> Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
0a81a98e90
commit
d3c9e40abc
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# Base Library implementation.
|
||||
#
|
||||
# Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2020, 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>
|
||||
@ -156,6 +156,7 @@
|
||||
|
||||
|
||||
Ia32/GccInline.c | GCC
|
||||
Ia32/GccInlinePriv.c | GCC
|
||||
Ia32/Thunk16.nasm
|
||||
Ia32/EnableDisableInterrupts.nasm| GCC
|
||||
Ia32/EnablePaging64.nasm
|
||||
@ -310,6 +311,7 @@
|
||||
X86PatchInstruction.c
|
||||
X86SpeculationBarrier.c
|
||||
X64/GccInline.c | GCC
|
||||
X64/GccInlinePriv.c | GCC
|
||||
X64/EnableDisableInterrupts.nasm
|
||||
X64/DisablePaging64.nasm
|
||||
X64/RdRand.nasm
|
||||
|
File diff suppressed because it is too large
Load Diff
1170
MdePkg/Library/BaseLib/Ia32/GccInlinePriv.c
Normal file
1170
MdePkg/Library/BaseLib/Ia32/GccInlinePriv.c
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1234
MdePkg/Library/BaseLib/X64/GccInlinePriv.c
Normal file
1234
MdePkg/Library/BaseLib/X64/GccInlinePriv.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user