public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Chao Li" <lichao@loongson.cn>
To: devel@edk2.groups.io
Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com>,
	Barton Gao <gaojie@byosoft.com.cn>,
	Carolyn Gjertsen <Carolyn.Gjertsen@amd.com>,
	Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>,
	Eric Jin <eric.jin@intel.com>,
	Supreeth Venkatesh <Supreeth.Venkatesh@amd.com>
Subject: [PATCH v1 0/2] Enable LoongArch64 in uefi-sct
Date: Wed, 14 Dec 2022 16:36:56 +0800	[thread overview]
Message-ID: <20221214083658.432422-1-lichao@loongson.cn> (raw)

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

-- 
2.27.0


             reply	other threads:[~2022-12-14  8:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-14  8:36 Chao Li [this message]
2022-12-14  8:36 ` [PATCH v1 1/2] uefi-sct/SctPkg: Add LoongArch64 platform support Chao Li
2023-01-03  5:31   ` 回复: " Gao Jie
2023-02-28 14:03   ` [edk2-devel] " G Edhaya Chandran
2023-03-03 10:19     ` G Edhaya Chandran
2022-12-14  8:36 ` [PATCH v1 2/2] uefi-sct/SctPkg: Enable LoongArch64 building Chao Li
2023-01-03  5:31   ` 回复: [edk2-devel] " Gao Jie
2023-02-28 14:04   ` G Edhaya Chandran
2023-03-03 10:18     ` G Edhaya Chandran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221214083658.432422-1-lichao@loongson.cn \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox