MdePkg/BaseLib: BaseLib for LOONGARCH64 architecture.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LoongArch LOONGARCH64 BaseLib functions. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Signed-off-by: Chao Li <lichao@loongson.cn> Co-authored-by: Baoqi Zhang <zhangbaoqi@loongson.cn> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
LIBRARY_CLASS = BaseLib
|
||||
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64 RISCV64
|
||||
# VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64 RISCV64 LOONGARCH64
|
||||
#
|
||||
|
||||
[Sources]
|
||||
@@ -402,6 +402,20 @@
|
||||
RiscV64/RiscVInterrupt.S | GCC
|
||||
RiscV64/FlushCache.S | GCC
|
||||
|
||||
[Sources.LOONGARCH64]
|
||||
Math64.c
|
||||
Unaligned.c
|
||||
LoongArch64/InternalSwitchStack.c
|
||||
LoongArch64/GetInterruptState.S | GCC
|
||||
LoongArch64/EnableInterrupts.S | GCC
|
||||
LoongArch64/DisableInterrupts.S | GCC
|
||||
LoongArch64/Barrier.S | GCC
|
||||
LoongArch64/MemoryFence.S | GCC
|
||||
LoongArch64/CpuBreakpoint.S | GCC
|
||||
LoongArch64/CpuPause.S | GCC
|
||||
LoongArch64/SetJumpLongJump.S | GCC
|
||||
LoongArch64/SwitchStack.S | GCC
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
|
||||
|
Reference in New Issue
Block a user