]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/BaseLib/Ia32/GccInline.c
MdePkg/BaseLib: Break out IA32/X64 GCC inline privileged functions
authorMichael D Kinney <michael.d.kinney@intel.com>
Fri, 5 Jun 2020 18:05:19 +0000 (11:05 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 15 Jul 2020 05:25:21 +0000 (05:25 +0000)
commitd3c9e40abcc839f59d56b7fca7787647533d96fe
tree1c55a2928d44b4484e1bcbf86ad31e5b89504689
parent0a81a98e900118857395b101f413c1c17b66c073
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>
MdePkg/Library/BaseLib/BaseLib.inf
MdePkg/Library/BaseLib/Ia32/GccInline.c
MdePkg/Library/BaseLib/Ia32/GccInlinePriv.c [new file with mode: 0644]
MdePkg/Library/BaseLib/X64/GccInline.c
MdePkg/Library/BaseLib/X64/GccInlinePriv.c [new file with mode: 0644]