From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web10.1986.1641612487789871655 for ; Fri, 07 Jan 2022 19:28:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=beY9Im1N; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=000704d8ca=abner.chang@hpe.com) Received: from pps.filterd (m0134423.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 2081WOoD003542; Sat, 8 Jan 2022 03:28:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pps0720; bh=0AnEAjZaUyCGbT16A7cuaazt8pi0sO+F1ZMe9NWxYTE=; b=beY9Im1No11toTjRbf34WfeCrEJ8ey0bYpCwVxwt9LL+1MPbNhMRIcNcor+YT4gtJ8gE eETLunqPqqijB9EplbEZAwdQ5Ws5kSb5IV6CzcYY3Mk4N0c9z4HzSoKpRzqdxZ7GycAc n+yvpQgxNoyXdrQMsu0FZQMjvBUi6QYQ1lLJr8/frr2siVTNHCr0T/EcF2bLfmB986m2 i27ow2nqXmq0PAC2vKr+u3O7JDDJMeTa/Yd2TbtmC3zSJwNVTNe0I2FixUOBu+WsDUnY DheWV47utU3KB/APdqvtollJr7o+6EPZBUIvpPGUJ2dl5+fY8Ux1+hM46Id/N5m340Np ew== Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3df04bgp14-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 08 Jan 2022 03:28:00 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2352.austin.hpe.com (Postfix) with ESMTP id AC35262; Sat, 8 Jan 2022 03:27:59 +0000 (UTC) Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id EF59636; Sat, 8 Jan 2022 03:27:55 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Sean Brogan , Bret Barkelew , Michael D Kinney , Leif Lindholm , Liming Gao , Daniel Schaefer , Sunil V L Subject: [PATCH 00/79] Migration of RiscV*Pkg Date: Sat, 8 Jan 2022 10:25:37 +0800 Message-Id: <20220108022656.14652-1-abner.chang@hpe.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Proofpoint-GUID: -R2r9socUzgASWaiE_M4gYUg8B52H5yf X-Proofpoint-ORIG-GUID: -R2r9socUzgASWaiE_M4gYUg8B52H5yf X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-08_01,2022-01-07_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 mlxlogscore=999 spamscore=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 adultscore=0 impostorscore=0 suspectscore=0 priorityscore=1501 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2201080020 Content-Transfer-Encoding: 8bit This is the migration of RISC-V related packages from edk2-platforms repo to edk2 repo, as the RISC-V edk2 port is getting mature and the demands of RISC-V edk2 port is increasing. RiscVVirtPKg is the next RISC-V edk2 package to upstream to edk2 repo, which is built base on edk2 RiscVPkg and RiscVPlatformPkg for RISC-V QEMU port. The edk2 port drivers for RISC-V processor, peripherals, and the implemetation of industry standards (such as UEFI/ACPI/RISC-V related specs) are also emulated base on RisVVirtPkg. * Patches you can ignore: Commit/Patch ca3c581e(1/79)-d3f147c4(61/79) are originally located in edk2-platforms repo. Those patches had been reviewed and the commit message are all preserved for the migration. *- Patches require review: 1. Commit/Patch 9aad8c35(62/79) and b284fa42(63/79) are the changes to rename RISC-V PlatformPkg and ProcessorPkg to RiscVPlatformPkg and RiscVPkg. 2. Commit/Patch 6955062e(64/79) and a786bc26(65/79) are build error fixes. 3. Commit/Patch c1fe0fe9(66/79) addes a git submodule for RISC-V OpenSBI. 4. The rest of patches are the fixes for edk2 Core CI. The patches for edk2 core CI fixes are created base on the CI test items but not base on the package owner or module, because those changes are all belong to RiscV*Pkg for CI issues and have no functional changes. Signed-off-by: Abner Chang Cc: Sean Brogan Cc: Bret Barkelew Cc: Michael D Kinney Cc: Leif Lindholm Cc: Liming Gao Cc: Daniel Schaefer Cc: Sunil V L Abner Chang (65): ProcessorPkg/Include: Add header files of RISC-V processor package ProcessorPkg/Library: RISC-V CPU library ProcessorPkg/Library: Add RISC-V exception library ProcessorPkg/Library: Add RISC-V timer library ProcessorPkg/RiscVOpensbLib: Add opensbi submodule ProcessorPkg/Library: Add RiscVOpensbiLib ProcessorPkg/Library: RISC-V PEI Service Table Pointer library ProcessorPkg/CpuDxe: Add RISC-V CPU DXE driver. ProcessorPkg/SmbiosDxe: Generic SMBIOS DXE driver for RISC-V platforms. ProcesorPkg/Library: NULL instance of RISC-V platform timer library. RISC-V/ProcessorPkg: RISC-V package. PlatformPkg/Library: RISC-V Platform Temporary Memory library PlatformPkg/Library: Add FirmwareContextProcessorSpecificLib module PlatformPkg/Library: NULL instance of RiscVOpensbiPlatformLib PlatformPkg/Library: NULL instance of PlatformMemoryTestLib PlatformPkg/Library: NULL instance of PlatformUpdateProgressLib PlatformPkg/Library: Platform Boot Manager library. PlatformPkg/SecMain: RISC-V SecMain module. PlatformPkg: Add RiscVPlatformPkg RISC-V/PlatformPkg: Revise Readme.md Silicon/SiFive: Handle case of NULL FirmwareContext Silicon/RISC-V: Update old SMBIOS struct filed name U5SeriesPkg: Deduplicate PlatformPei RISC-V: Split SMBIOS out of PlatformPei RISC-V: Use U5 SMBIOS library only for those platforms Silicon/RISC-V: Introduce FirmwareContext library Silicon/RISC-V: PeiServiceTableLib uses RiscVFirmwareContextLib RISC-V/PlatformPkg: Add FdtPeim to pass DTB from PEI to DXE via HOB RISC-V/PlatformPkg: Fixup FDT from HOB and install into config table RISC-V: Switch to latest OpenSBI RISC-V: Implement ResetSystem RT call Move OpenSbiPlatformLib to RISC-V/PlatformPkg RISC-V/PlatformPkg: Update document RISC-V: Add RISC-V PeiCoreEntryPoint library RISC-V: Create opensbi firmware domains RISC-V: Use RISC-V PeiCoreEntryPoint library Platform/RISC-V: Add library to get PPI descriptor Platform/RISC-V: Use PlatformSecPpiLib Platform/RISC-V: Add NULL library instance of RiscVSpecialPlatformLib Platform/RISC-V: Remove platform dependency from common platform lib Platform/RISC-V: Remove Null instance of OpensbiPlatformLibNull RiscVPlatformPkg/Sec: Initial hart_index2Id array RiscVPlatformPkg/OpensbiPlatformLib: Remove platform code RiscVPlatformPkg/RiscVSpecialPlatformLib: Rename module name RiscVPkg: Update opensbi library RiscVPlatformPkg/Sec: Check Cold/Warm hart RiscVPlatformPkg/Sec: Add more comments to Secmain.c RiscV/ProcessorPkg: Create read mtime CSR library instances RiscV/ProcessorPkg: Use mtime CSR library RISC-V/PlatformPkg: Updates for the latest OpenSBI PlatformPkg/Sec: Separate EDK2 Opensbi platform hook. RISC-V/PlatformPkg: Determine hart number from DTB Silicon/RISC-V: Add PciCpuIoDxe driver Platform/RISC-V: Add debug message to SecMain.c Platform/RISC-V: Initialize variable to zero RiscVPlatformPkg: Rename PlatformPkg to RiscVPlatformPkg RiscVPkg: Rename ProcessorPkg to RiscVPkg RiscVPkg: Fix build fail on RiscVPkg package RiscVPkg/PlatformPei: Fix the build error edk2:.gitmodules RiscVPlatformPkg: Address Core CI ECC errors. RiscVPkg: Address Core CI ECC errors. edk2: RiscVPlatformPkg Core CI YAML file edk2: RiscVPkg Core CI YAML file edk2: Enable Core CI on RiscV*Pkg Dandan Bi (2): Platform/RISC-V: Consume MdeLibs.dsc.inc for RegisterFilterLib Silicon/RISC_V: Consume MdeLibs.dsc.inc for RegisterFilterLib Daniel Schaefer (4): ProcessorPkg/Library: Add RiscVEdk2SbiLib RISC-V/CpuDxe: Ignore set memory attributes failure Signal EndOfDxe in boot manager RISC-V/PlatformPkg: Build DeviceTree and use that in SEC changab (8): RiscVPlatformVPkg: Address Core CI Spelling errors. RiscVPlatformVPkg: Address Core CI package dependency check errors RiscVPlatformVPkg: Address Core CI license check errors. RiscVPlatformVPkg: Address Core CI library header check errors RiscVPlatformVPkg: Address Core CI Uncrustify errors RiscVPkg: Address Core CI library header check errors RiscVPkg: Address Core CI Spelling errors. RiscVPkg: Address Core CI Uncrustify errors RiscVPkg/RiscVPkg.dec | 50 + RiscVPlatformPkg/RiscVPlatformPkg.dec | 94 + RiscVPkg/RiscVPkg.dsc | 109 + RiscVPlatformPkg/RiscVPlatformPkg.dsc | 95 + .../PeiServicesTablePointerLibOpenSbi.inf | 39 + RiscVPkg/Library/RiscVCpuLib/RiscVCpuLib.inf | 34 + .../RiscVEdk2SbiLib/RiscVEdk2SbiLib.inf | 28 + .../CpuExceptionHandlerDxeLib.inf | 43 + .../RiscVFirmwareContextSbiLib.inf | 34 + .../RiscVFirmwareContextSscratchLib.inf | 33 + .../RiscVFirmwareContextStvecLib.inf | 34 + .../RiscVOpensbiLib/RiscVOpensbiLib.inf | 89 + .../RiscVPlatformTimerLib.inf | 35 + .../EmulatedMachineModeTimerLib.inf | 34 + .../MachineModeTimerLib.inf | 38 + .../RiscVTimerLib/BaseRiscVTimerLib.inf | 35 + RiscVPkg/Universal/CpuDxe/CpuDxe.inf | 49 + RiscVPkg/Universal/FdtDxe/FdtDxe.inf | 53 + .../Universal/PciCpuIo2Dxe/PciCpuIo2Dxe.inf | 47 + .../Universal/SmbiosDxe/RiscVSmbiosDxe.inf | 55 + .../Edk2OpensbiPlatformWrapperLib.inf | 44 + .../FirmwareContextProcessorSpecificLib.inf | 31 + .../OpensbiPlatformLib/OpensbiPlatformLib.inf | 50 + .../PeiCoreEntryPoint/PeiCoreEntryPoint.inf | 36 + .../PeiCoreInfoHobLib.inf | 43 + .../PlatformBootManagerLib.inf | 55 + .../PlatformMemoryTestLibNull.inf | 27 + .../PlatformSecPpiLibNull.inf | 32 + .../PlatformUpdateProgressLibNull.inf | 28 + .../Library/ResetSystemLib/ResetSystemLib.inf | 32 + .../RiscVPlatformTempMemoryInitLibNull.inf | 38 + .../RiscVSpecialPlatformLibNull.inf | 36 + .../Universal/FdtPeim/FdtPeim.inf | 46 + .../Universal/Pei/PlatformPei/PlatformPei.inf | 66 + RiscVPlatformPkg/Universal/Sec/SecMain.inf | 79 + RiscVPkg/Include/IndustryStandard/RiscV.h | 162 ++ .../Include/IndustryStandard/RiscVOpensbi.h | 62 + .../Include/Library/MachineModeTimerLib.h | 17 + RiscVPkg/Include/Library/RiscVCpuLib.h | 118 + RiscVPkg/Include/Library/RiscVEdk2SbiLib.h | 596 +++++ .../Include/Library/RiscVFirmwareContextLib.h | 43 + .../Include/Library/RiscVPlatformTimerLib.h | 25 + RiscVPkg/Include/OpensbiTypes.h | 82 + RiscVPkg/Include/ProcessorSpecificHobData.h | 97 + RiscVPkg/Include/RiscVImpl.h | 87 + .../Include/SmbiosProcessorSpecificData.h | 57 + .../CpuExceptionHandlerLib.h | 110 + RiscVPkg/Universal/CpuDxe/CpuDxe.h | 198 ++ RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.h | 22 + .../Library/Edk2OpensbiPlatformWrapperLib.h | 16 + .../FirmwareContextProcessorSpecificLib.h | 54 + .../Include/Library/PlatformSecPpiLib.h | 24 + .../Library/RiscVPlatformTempMemoryInitLib.h | 29 + .../Include/Library/RiscVSpecialPlatformLib.h | 20 + .../PlatformBootManager.h | 109 + .../Universal/Pei/PlatformPei/Platform.h | 97 + RiscVPlatformPkg/Universal/Sec/SecMain.h | 64 + .../PeiServicesTablePointerOpenSbi.c | 119 + .../Library/RiscVEdk2SbiLib/RiscVEdk2SbiLib.c | 1016 +++++++++ .../CpuExceptionHandlerLib.c | 194 ++ .../RiscVFirmwareContextSbiLib.c | 51 + .../RiscVFirmwareContextSscratchLib.c | 48 + .../RiscVFirmwareContextStvecLib.c | 48 + .../Library/RiscVTimerLib/RiscVTimerLib.c | 199 ++ RiscVPkg/Universal/CpuDxe/CpuDxe.c | 310 +++ RiscVPkg/Universal/FdtDxe/FdtDxe.c | 134 ++ .../Universal/PciCpuIo2Dxe/PciCpuIo2Dxe.c | 557 +++++ RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.c | 350 +++ .../Edk2OpensbiPlatformWrapperLib.c | 554 +++++ .../FirmwareContextProcessorSpecificLib.c | 123 ++ .../OpensbiPlatformLib/OpensbiPlatform.c | 270 +++ .../PeiCoreEntryPoint/PeiCoreEntryPoint.c | 106 + .../PeiCoreInfoHobLibNull/CoreInfoHob.c | 36 + .../PlatformBootManager.c | 257 +++ .../PlatformBootManagerLib/PlatformData.c | 53 + .../PlatformMemoryTestLibNull.c | 29 + .../PlatformSecPpiLibNull/PlatformSecPpiLib.c | 27 + .../PlatformUpdateProgressLibNull.c | 53 + .../Library/ResetSystemLib/ResetSystemLib.c | 128 ++ .../RiscVSpecialPlatformLib.c | 19 + RiscVPlatformPkg/Universal/FdtPeim/FdtPeim.c | 73 + .../Universal/Pei/PlatformPei/Fv.c | 54 + .../Universal/Pei/PlatformPei/MemDetect.c | 80 + .../Universal/Pei/PlatformPei/Platform.c | 365 ++++ RiscVPlatformPkg/Universal/Sec/SecMain.c | 733 +++++++ RiscVPlatformPkg/Readme.md | 224 ++ .../templates/pr-gate-build-job.yml | 3 + .gitmodules | 3 + .pytool/CISettings.py | 6 +- .../PeiServicesTablePointerLibOpenSbi.uni | 16 + RiscVPkg/Library/RiscVCpuLib/Cpu.S | 143 ++ .../CpuExceptionHandlerLib.uni | 13 + .../RiscVExceptionLib/SupervisorTrapHandler.S | 112 + RiscVPkg/Library/RiscVOpensbiLib/opensbi | 1 + .../RiscVPlatformTimerLibNull.S | 40 + .../EmulatedMachineModeTimerLib.S | 24 + .../MachineModeTimerLib/MachineModeTimerLib.S | 25 + RiscVPkg/RiscVPkg.ci.yaml | 151 ++ RiscVPkg/RiscVPkg.uni | 29 + RiscVPkg/RiscVPkgExtra.uni | 13 + RiscVPkg/Universal/CpuDxe/CpuDxe.uni | 13 + RiscVPkg/Universal/CpuDxe/CpuDxeExtra.uni | 14 + .../Universal/SmbiosDxe/RiscVSmbiosDxe.uni | 12 + .../SmbiosDxe/RiscVSmbiosDxeExtra.uni | 13 + .../Documents/Media/RiscVEdk2BootProcess.svg | 1928 +++++++++++++++++ .../Documents/Media/RiscVEdk2FwDomain.svg | 1290 +++++++++++ .../PeiCoreEntryPoint/PeiCoreEntryPoint.uni | 14 + .../PlatformBootManagerLib/Strings.uni | 28 + .../Riscv64/TempMemInit.S | 26 + RiscVPlatformPkg/RiscVPlatformPkg.ci.yaml | 122 ++ RiscVPlatformPkg/RiscVPlatformPkg.uni | 84 + RiscVPlatformPkg/RiscVPlatformPkgExtra.uni | 12 + .../Universal/Sec/Riscv64/SecEntry.S | 579 +++++ 113 files changed, 14683 insertions(+), 1 deletion(-) create mode 100644 RiscVPkg/RiscVPkg.dec create mode 100644 RiscVPlatformPkg/RiscVPlatformPkg.dec create mode 100644 RiscVPkg/RiscVPkg.dsc create mode 100644 RiscVPlatformPkg/RiscVPlatformPkg.dsc create mode 100644 RiscVPkg/Library/PeiServicesTablePointerLibOpenSbi/PeiServicesTablePointerLibOpenSbi.inf create mode 100644 RiscVPkg/Library/RiscVCpuLib/RiscVCpuLib.inf create mode 100644 RiscVPkg/Library/RiscVEdk2SbiLib/RiscVEdk2SbiLib.inf create mode 100644 RiscVPkg/Library/RiscVExceptionLib/CpuExceptionHandlerDxeLib.inf create mode 100644 RiscVPkg/Library/RiscVFirmwareContextSbiLib/RiscVFirmwareContextSbiLib.inf create mode 100644 RiscVPkg/Library/RiscVFirmwareContextSscratchLib/RiscVFirmwareContextSscratchLib.inf create mode 100644 RiscVPkg/Library/RiscVFirmwareContextStvecLib/RiscVFirmwareContextStvecLib.inf create mode 100644 RiscVPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf create mode 100644 RiscVPkg/Library/RiscVPlatformTimerLibNull/RiscVPlatformTimerLib.inf create mode 100644 RiscVPkg/Library/RiscVReadMachineModeTimer/EmulatedMachineModeTimerLib/EmulatedMachineModeTimerLib.inf create mode 100644 RiscVPkg/Library/RiscVReadMachineModeTimer/MachineModeTimerLib/MachineModeTimerLib.inf create mode 100644 RiscVPkg/Library/RiscVTimerLib/BaseRiscVTimerLib.inf create mode 100644 RiscVPkg/Universal/CpuDxe/CpuDxe.inf create mode 100644 RiscVPkg/Universal/FdtDxe/FdtDxe.inf create mode 100644 RiscVPkg/Universal/PciCpuIo2Dxe/PciCpuIo2Dxe.inf create mode 100644 RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.inf create mode 100644 RiscVPlatformPkg/Library/Edk2OpensbiPlatformWrapperLib/Edk2OpensbiPlatformWrapperLib.inf create mode 100644 RiscVPlatformPkg/Library/FirmwareContextProcessorSpecificLib/FirmwareContextProcessorSpecificLib.inf create mode 100644 RiscVPlatformPkg/Library/OpensbiPlatformLib/OpensbiPlatformLib.inf create mode 100644 RiscVPlatformPkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf create mode 100644 RiscVPlatformPkg/Library/PeiCoreInfoHobLibNull/PeiCoreInfoHobLib.inf create mode 100644 RiscVPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf create mode 100644 RiscVPlatformPkg/Library/PlatformMemoryTestLibNull/PlatformMemoryTestLibNull.inf create mode 100644 RiscVPlatformPkg/Library/PlatformSecPpiLibNull/PlatformSecPpiLibNull.inf create mode 100644 RiscVPlatformPkg/Library/PlatformUpdateProgressLibNull/PlatformUpdateProgressLibNull.inf create mode 100644 RiscVPlatformPkg/Library/ResetSystemLib/ResetSystemLib.inf create mode 100644 RiscVPlatformPkg/Library/RiscVPlatformTempMemoryInitLibNull/RiscVPlatformTempMemoryInitLibNull.inf create mode 100644 RiscVPlatformPkg/Library/RiscVSpecialPlatformLibNull/RiscVSpecialPlatformLibNull.inf create mode 100644 RiscVPlatformPkg/Universal/FdtPeim/FdtPeim.inf create mode 100644 RiscVPlatformPkg/Universal/Pei/PlatformPei/PlatformPei.inf create mode 100644 RiscVPlatformPkg/Universal/Sec/SecMain.inf create mode 100644 RiscVPkg/Include/IndustryStandard/RiscV.h create mode 100644 RiscVPkg/Include/IndustryStandard/RiscVOpensbi.h create mode 100644 RiscVPkg/Include/Library/MachineModeTimerLib.h create mode 100644 RiscVPkg/Include/Library/RiscVCpuLib.h create mode 100644 RiscVPkg/Include/Library/RiscVEdk2SbiLib.h create mode 100644 RiscVPkg/Include/Library/RiscVFirmwareContextLib.h create mode 100644 RiscVPkg/Include/Library/RiscVPlatformTimerLib.h create mode 100644 RiscVPkg/Include/OpensbiTypes.h create mode 100644 RiscVPkg/Include/ProcessorSpecificHobData.h create mode 100644 RiscVPkg/Include/RiscVImpl.h create mode 100644 RiscVPkg/Include/SmbiosProcessorSpecificData.h create mode 100644 RiscVPkg/Library/RiscVExceptionLib/CpuExceptionHandlerLib.h create mode 100644 RiscVPkg/Universal/CpuDxe/CpuDxe.h create mode 100644 RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.h create mode 100644 RiscVPlatformPkg/Include/Library/Edk2OpensbiPlatformWrapperLib.h create mode 100644 RiscVPlatformPkg/Include/Library/FirmwareContextProcessorSpecificLib.h create mode 100644 RiscVPlatformPkg/Include/Library/PlatformSecPpiLib.h create mode 100644 RiscVPlatformPkg/Include/Library/RiscVPlatformTempMemoryInitLib.h create mode 100644 RiscVPlatformPkg/Include/Library/RiscVSpecialPlatformLib.h create mode 100644 RiscVPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManager.h create mode 100644 RiscVPlatformPkg/Universal/Pei/PlatformPei/Platform.h create mode 100644 RiscVPlatformPkg/Universal/Sec/SecMain.h create mode 100644 RiscVPkg/Library/PeiServicesTablePointerLibOpenSbi/PeiServicesTablePointerOpenSbi.c create mode 100644 RiscVPkg/Library/RiscVEdk2SbiLib/RiscVEdk2SbiLib.c create mode 100644 RiscVPkg/Library/RiscVExceptionLib/CpuExceptionHandlerLib.c create mode 100644 RiscVPkg/Library/RiscVFirmwareContextSbiLib/RiscVFirmwareContextSbiLib.c create mode 100644 RiscVPkg/Library/RiscVFirmwareContextSscratchLib/RiscVFirmwareContextSscratchLib.c create mode 100644 RiscVPkg/Library/RiscVFirmwareContextStvecLib/RiscVFirmwareContextStvecLib.c create mode 100644 RiscVPkg/Library/RiscVTimerLib/RiscVTimerLib.c create mode 100644 RiscVPkg/Universal/CpuDxe/CpuDxe.c create mode 100644 RiscVPkg/Universal/FdtDxe/FdtDxe.c create mode 100644 RiscVPkg/Universal/PciCpuIo2Dxe/PciCpuIo2Dxe.c create mode 100644 RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.c create mode 100644 RiscVPlatformPkg/Library/Edk2OpensbiPlatformWrapperLib/Edk2OpensbiPlatformWrapperLib.c create mode 100644 RiscVPlatformPkg/Library/FirmwareContextProcessorSpecificLib/FirmwareContextProcessorSpecificLib.c create mode 100644 RiscVPlatformPkg/Library/OpensbiPlatformLib/OpensbiPlatform.c create mode 100644 RiscVPlatformPkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.c create mode 100644 RiscVPlatformPkg/Library/PeiCoreInfoHobLibNull/CoreInfoHob.c create mode 100644 RiscVPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManager.c create mode 100644 RiscVPlatformPkg/Library/PlatformBootManagerLib/PlatformData.c create mode 100644 RiscVPlatformPkg/Library/PlatformMemoryTestLibNull/PlatformMemoryTestLibNull.c create mode 100644 RiscVPlatformPkg/Library/PlatformSecPpiLibNull/PlatformSecPpiLib.c create mode 100644 RiscVPlatformPkg/Library/PlatformUpdateProgressLibNull/PlatformUpdateProgressLibNull.c create mode 100644 RiscVPlatformPkg/Library/ResetSystemLib/ResetSystemLib.c create mode 100644 RiscVPlatformPkg/Library/RiscVSpecialPlatformLibNull/RiscVSpecialPlatformLib.c create mode 100644 RiscVPlatformPkg/Universal/FdtPeim/FdtPeim.c create mode 100644 RiscVPlatformPkg/Universal/Pei/PlatformPei/Fv.c create mode 100644 RiscVPlatformPkg/Universal/Pei/PlatformPei/MemDetect.c create mode 100644 RiscVPlatformPkg/Universal/Pei/PlatformPei/Platform.c create mode 100644 RiscVPlatformPkg/Universal/Sec/SecMain.c create mode 100644 RiscVPlatformPkg/Readme.md create mode 100644 RiscVPkg/Library/PeiServicesTablePointerLibOpenSbi/PeiServicesTablePointerLibOpenSbi.uni create mode 100644 RiscVPkg/Library/RiscVCpuLib/Cpu.S create mode 100644 RiscVPkg/Library/RiscVExceptionLib/CpuExceptionHandlerLib.uni create mode 100644 RiscVPkg/Library/RiscVExceptionLib/SupervisorTrapHandler.S create mode 160000 RiscVPkg/Library/RiscVOpensbiLib/opensbi create mode 100644 RiscVPkg/Library/RiscVPlatformTimerLibNull/RiscVPlatformTimerLibNull.S create mode 100644 RiscVPkg/Library/RiscVReadMachineModeTimer/EmulatedMachineModeTimerLib/EmulatedMachineModeTimerLib.S create mode 100644 RiscVPkg/Library/RiscVReadMachineModeTimer/MachineModeTimerLib/MachineModeTimerLib.S create mode 100644 RiscVPkg/RiscVPkg.ci.yaml create mode 100644 RiscVPkg/RiscVPkg.uni create mode 100644 RiscVPkg/RiscVPkgExtra.uni create mode 100644 RiscVPkg/Universal/CpuDxe/CpuDxe.uni create mode 100644 RiscVPkg/Universal/CpuDxe/CpuDxeExtra.uni create mode 100644 RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.uni create mode 100644 RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxeExtra.uni create mode 100644 RiscVPlatformPkg/Documents/Media/RiscVEdk2BootProcess.svg create mode 100644 RiscVPlatformPkg/Documents/Media/RiscVEdk2FwDomain.svg create mode 100644 RiscVPlatformPkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.uni create mode 100644 RiscVPlatformPkg/Library/PlatformBootManagerLib/Strings.uni create mode 100644 RiscVPlatformPkg/Library/RiscVPlatformTempMemoryInitLibNull/Riscv64/TempMemInit.S create mode 100644 RiscVPlatformPkg/RiscVPlatformPkg.ci.yaml create mode 100644 RiscVPlatformPkg/RiscVPlatformPkg.uni create mode 100644 RiscVPlatformPkg/RiscVPlatformPkgExtra.uni create mode 100644 RiscVPlatformPkg/Universal/Sec/Riscv64/SecEntry.S -- 2.31.1