Hi Maintainers,
This patch set has been committed several months
ago, could you please review this patch set?
Hi Maintainers,
Could you help review this patch set?
在 2022/12/14 16:36, Chao Li 写道:
LoongArch64 support was merged into edk2 and edk2-platforms, enable it in edk2-test now. BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4192 Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com> Cc: Barton Gao <gaojie@byosoft.com.cn> Cc: Carolyn Gjertsen <Carolyn.Gjertsen@amd.com> Cc: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com> Cc: Eric Jin <eric.jin@intel.com> Cc: Supreeth Venkatesh <Supreeth.Venkatesh@amd.com> Signed-off-by: Chao Li <lichao@loongson.cn> Chao Li (2): uefi-sct/SctPkg: Add LoongArch64 platform support uefi-sct/SctPkg: Enable LoongArch64 building .../Application/InstallSct/InstallSctDef.h | 4 + .../Library/SctLib/LoongArch64/SctLibPlat.h | 32 ++ .../Library/SctLib/LoongArch64/initplat.c | 45 +++ uefi-sct/SctPkg/Library/SctLib/SctLib.inf | 6 + .../SCRT/SCRTApp/LoongArch64/GoVirtual.S | 41 +++ .../SCRT/SCRTApp/LoongArch64/VirtualMemory.c | 177 ++++++++++++ uefi-sct/SctPkg/SCRT/SCRTApp/SCRTApp.inf | 5 + .../SCRT/SCRTDriver/LoongArch64/Debug.c | 81 ++++++ .../SctPkg/SCRT/SCRTDriver/LoongArch64/Dump.c | 68 +++++ .../SctPkg/SCRT/SCRTDriver/LoongArch64/Io.c | 136 +++++++++ .../SctPkg/SCRT/SCRTDriver/SCRTDriver.inf | 6 + .../BlackBoxTest/DebugSupportBBTest.inf | 6 + .../DebugSupportBBTestCacheFunction.c | 136 +++++++++ ...ugSupportBBTestExceptionCallbackFunction.c | 273 ++++++++++++++++++ .../BlackBoxTest/LoongArch64/PlatformIsa.c | 29 ++ .../Usb2Hc/BlackBoxTest/Usb2HcTest.inf | 4 + .../BlackBoxTest/LoongArch64/TimerInterrupt.c | 38 +++ .../Protocol/UsbHc/BlackBoxTest/UsbHcTest.inf | 4 + .../SCT/Framework/ENTS/EasLib/EntsLib.inf | 5 + .../ENTS/EasLib/LoongArch64/EntsLibPlat.h | 56 ++++ .../ENTS/EasLib/LoongArch64/InitPlat.c | 55 ++++ .../SctPkg/Tools/Source/GenBin/GNUmakefile | 4 + uefi-sct/SctPkg/UEFI/IHV_SCT.dsc | 12 +- uefi-sct/SctPkg/UEFI/Protocol/DebugSupport.h | 101 ++++++- uefi-sct/SctPkg/UEFI/UEFI_SCT.dsc | 15 +- uefi-sct/SctPkg/build.sh | 10 +- 26 files changed, 1343 insertions(+), 6 deletions(-) create mode 100644 uefi-sct/SctPkg/Library/SctLib/LoongArch64/SctLibPlat.h create mode 100644 uefi-sct/SctPkg/Library/SctLib/LoongArch64/initplat.c create mode 100644 uefi-sct/SctPkg/SCRT/SCRTApp/LoongArch64/GoVirtual.S create mode 100644 uefi-sct/SctPkg/SCRT/SCRTApp/LoongArch64/VirtualMemory.c create mode 100644 uefi-sct/SctPkg/SCRT/SCRTDriver/LoongArch64/Debug.c create mode 100644 uefi-sct/SctPkg/SCRT/SCRTDriver/LoongArch64/Dump.c create mode 100644 uefi-sct/SctPkg/SCRT/SCRTDriver/LoongArch64/Io.c create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/LoongArch64/DebugSupportBBTestCacheFunction.c create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/LoongArch64/DebugSupportBBTestExceptionCallbackFunction.c create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DebugSupport/BlackBoxTest/LoongArch64/PlatformIsa.c create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/UsbHc/BlackBoxTest/LoongArch64/TimerInterrupt.c create mode 100644 uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/LoongArch64/EntsLibPlat.h create mode 100644 uefi-sct/SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/LoongArch64/InitPlat.c