[edk2-devel] [edk2-staging/RISC-V-V2 PATCH v3 00/39] RISC-V EDK2 Port on

Abner Chang posted 39 patches 4 years, 6 months ago
Only 37 patches received!
MdePkg/MdePkg.dec                                  |   5 +-
RiscVPkg/RiscVPkg.dec                              |  41 ++
RiscVPlatformPkg/RiscVPlatformPkg.dec              |  72 +++
NetworkPkg/Network.dsc.inc                         |   2 +-
RiscVPkg/RiscVPkg.dsc                              |  92 ++++
RiscVPlatformPkg/RiscVPlatformPkg.dsc              |  73 +++
MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf            |  13 +-
MdeModulePkg/Logo/Logo.inf                         |   2 +-
.../CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf        |   9 +-
.../BaseCacheMaintenanceLib.inf                    |   4 +
MdePkg/Library/BaseCpuLib/BaseCpuLib.inf           |   6 +-
.../BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf      |  12 +-
MdePkg/Library/BaseLib/BaseLib.inf                 |  18 +-
MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf     |   5 +
.../BaseSynchronizationLib.inf                     |   5 +
.../PeiServicesTablePointerLibOpenSbi.inf          |  38 ++
RiscVPkg/Library/RiscVCpuLib/RiscVCpuLib.inf       |  34 ++
.../RiscVDxeIplHandoffLib.inf                      |  32 ++
.../RiscVDxeIplHandoffOpenSbiLib.inf               |  33 ++
.../CpuExceptionHandlerDxeLib.inf                  |  43 ++
.../Library/RiscVOpensbiLib/RiscVOpensbiLib.inf    |  53 ++
.../RiscVPlatformTimerLib.inf                      |  35 ++
.../Library/RiscVTimerLib/BaseRiscVTimerLib.inf    |  34 ++
RiscVPkg/Universal/CpuDxe/CpuDxe.inf               |  48 ++
RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.inf    |  55 ++
.../FirmwareContextProcessorSpecificLib.inf        |  31 ++
.../OpensbiPlatformLibNull.inf                     |  38 ++
.../PlatformBootManagerLib.inf                     |  61 +++
.../PlatformMemoryTestLibNull.inf                  |  29 +
.../PlatformUpdateProgressLibNull.inf              |  29 +
.../RealTimeClockLibNull/RealTimeClockLibNull.inf  |  30 ++
.../RiscVPlatformTempMemoryInitLibNull.inf         |  34 ++
RiscVPlatformPkg/Universal/Sec/SecMain.inf         |  72 +++
BaseTools/Source/C/Common/PeCoffLib.h              |   9 +
BaseTools/Source/C/GenFw/elf_common.h              |  62 +++
.../Source/C/Include/IndustryStandard/PeImage.h    |   6 +
MdePkg/Include/IndustryStandard/PeImage.h          |  12 +
MdePkg/Include/Library/BaseLib.h                   |  26 +
MdePkg/Include/Protocol/DebugSupport.h             |  55 ++
MdePkg/Include/Protocol/PxeBaseCode.h              |   4 +
MdePkg/Include/RiscV64/ProcessorBind.h             | 173 ++++++
MdePkg/Include/Uefi/UefiBaseType.h                 |  13 +
MdePkg/Include/Uefi/UefiSpec.h                     |   5 +
.../Library/BasePeCoffLib/BasePeCoffLibInternals.h |   9 +
RiscVPkg/Include/IndustryStandard/RiscV.h          | 118 ++++
RiscVPkg/Include/Library/RiscVCpuLib.h             |  68 +++
RiscVPkg/Include/Library/RiscVPlatformDxeIpl.h     |  41 ++
RiscVPkg/Include/ProcessorSpecificHobData.h        |  97 ++++
RiscVPkg/Include/RiscVImpl.h                       |  72 +++
RiscVPkg/Include/SmbiosProcessorSpecificData.h     |  57 ++
RiscVPkg/Include/sbi/SbiFirmwareContext.h          |  33 ++
RiscVPkg/Include/sbi/sbi.h                         |  52 ++
RiscVPkg/Include/sbi/sbi_bits.h                    |  17 +
RiscVPkg/Include/sbi/sbi_types.h                   |  45 ++
.../RiscVExceptionLib/CpuExceptionHandlerLib.h     |  16 +
RiscVPkg/Universal/CpuDxe/CpuDxe.h                 | 199 +++++++
RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.h      |  23 +
.../Library/FirmwareContextProcessorSpecificLib.h  |  42 ++
.../Library/RiscVPlatformTempMemoryInitLib.h       |  17 +
.../PlatformBootManagerLib/PlatformBootManager.h   | 117 ++++
RiscVPlatformPkg/Universal/Sec/SecMain.h           |  57 ++
BaseTools/Source/C/Common/BasePeCoff.c             |  15 +-
BaseTools/Source/C/Common/PeCoffLoaderEx.c         |  86 +++
BaseTools/Source/C/GenFv/GenFvInternalLib.c        | 128 ++++-
BaseTools/Source/C/GenFw/Elf32Convert.c            |   5 +-
BaseTools/Source/C/GenFw/Elf64Convert.c            | 282 +++++++++-
MdeModulePkg/Core/DxeIplPeim/RiscV64/DxeLoadFunc.c |  76 +++
.../Library/BaseCacheMaintenanceLib/RiscVCache.c   | 250 +++++++++
MdePkg/Library/BaseIoLibIntrinsic/IoLibArm.c       | 593 ---------------------
MdePkg/Library/BaseIoLibIntrinsic/IoLibNoIo.c      | 593 +++++++++++++++++++++
MdePkg/Library/BaseLib/RiscV64/CpuBreakpoint.c     |  27 +
MdePkg/Library/BaseLib/RiscV64/CpuPause.c          |  29 +
MdePkg/Library/BaseLib/RiscV64/DisableInterrupts.c |  24 +
MdePkg/Library/BaseLib/RiscV64/EnableInterrupts.c  |  25 +
MdePkg/Library/BaseLib/RiscV64/GetInterruptState.c |  35 ++
.../Library/BaseLib/RiscV64/InternalSwitchStack.c  |  55 ++
MdePkg/Library/BaseLib/RiscV64/LongJump.c          |  32 ++
MdePkg/Library/BasePeCoffLib/BasePeCoff.c          |   3 +-
.../Library/BasePeCoffLib/RiscV/PeCoffLoaderEx.c   | 133 +++++
.../PeiServicesTablePointerOpenSbi.c               | 121 +++++
.../RiscVDxeIplHandoffLib/RiscVDxeIplHandoffLib.c  |  41 ++
.../RiscVDxeIplHandoffOpenSbiLib.c                 | 101 ++++
.../RiscVExceptionLib/CpuExceptionHandlerLib.c     | 191 +++++++
RiscVPkg/Library/RiscVTimerLib/RiscVTimerLib.c     | 199 +++++++
RiscVPkg/Universal/CpuDxe/CpuDxe.c                 | 317 +++++++++++
RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.c      | 339 ++++++++++++
.../FirmwareContextProcessorSpecificLib.c          |  94 ++++
.../Library/OpensbiPlatformLibNull/Platform.c      |  44 ++
.../PlatformBootManagerLib/PlatformBootManager.c   | 243 +++++++++
.../Library/PlatformBootManagerLib/PlatformData.c  |  49 ++
.../PlatformMemoryTestLibNull.c                    |  29 +
.../PlatformUpdateProgressLibNull.c                |  52 ++
.../RealTimeClockLibNull/RealTimeClockLibNull.c    | 204 +++++++
RiscVPlatformPkg/Universal/Sec/SecMain.c           | 523 ++++++++++++++++++
Readme.md                                          |   1 +
RiscVEdk2Readme.md                                 |  64 +++
RiscVPlatformPkg/Readme.md                         |  78 +++
.gitmodules                                        |  15 +-
BaseTools/Conf/build_rule.template                 |  54 +-
BaseTools/Conf/tools_def.template                  |  64 ++-
BaseTools/Scripts/GccBaseRiscV.lds                 |  79 +++
BaseTools/Source/Python/Common/DataType.py         |   7 +-
BaseTools/Source/Python/Common/buildoptions.py     |   6 +-
Maintainers.txt                                    |  15 +
MdePkg/Library/BaseCpuLib/BaseCpuLib.uni           |   5 +-
MdePkg/Library/BaseCpuLib/RiscV/Cpu.S              |  19 +
MdePkg/Library/BaseLib/RiscV64/FlushCache.S        |  21 +
.../Library/BaseLib/RiscV64/RiscVCpuBreakpoint.S   |  14 +
MdePkg/Library/BaseLib/RiscV64/RiscVCpuPause.S     |  14 +
MdePkg/Library/BaseLib/RiscV64/RiscVInterrupt.S    |  32 ++
.../Library/BaseLib/RiscV64/RiscVSetJumpLongJump.S |  55 ++
MdePkg/Library/BasePeCoffLib/BasePeCoffLib.uni     |   2 +
.../RiscV64/SynchronizationAsm.S                   |  78 +++
.../PeiServicesTablePointerLibOpenSbi.uni          |  23 +
RiscVPkg/Library/RiscVCpuLib/Cpu.S                 | 115 ++++
.../RiscVExceptionLib/CpuExceptionHandlerLib.uni   |  13 +
.../RiscVExceptionLib/SupervisorTrapHandler.S      |  88 +++
RiscVPkg/Library/RiscVOpensbiLib/opensbi           |   1 +
.../RiscVPlatformTimerLibNull.S                    |  40 ++
RiscVPkg/RiscVPkg.uni                              |  13 +
RiscVPkg/RiscVPkgExtra.uni                         |  13 +
RiscVPkg/Universal/CpuDxe/CpuDxe.uni               |  13 +
RiscVPkg/Universal/CpuDxe/CpuDxeExtra.uni          |  14 +
RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.uni    |  12 +
.../Universal/SmbiosDxe/RiscVSmbiosDxeExtra.uni    |  13 +
.../Library/PlatformBootManagerLib/Strings.uni     |  28 +
.../Riscv64/TempMemInit.S                          |  26 +
RiscVPlatformPkg/RiscVPlatformPkg.uni              |  15 +
RiscVPlatformPkg/RiscVPlatformPkgExtra.uni         |  12 +
RiscVPlatformPkg/Universal/Sec/Riscv64/SecEntry.S  | 442 +++++++++++++++
130 files changed, 8320 insertions(+), 655 deletions(-)
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/RiscVDxeIplHandoffLib/RiscVDxeIplHandoffLib.inf
create mode 100644 RiscVPkg/Library/RiscVDxeIplHandoffOpenSbiLib/RiscVDxeIplHandoffOpenSbiLib.inf
create mode 100644 RiscVPkg/Library/RiscVExceptionLib/CpuExceptionHandlerDxeLib.inf
create mode 100644 RiscVPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf
create mode 100644 RiscVPkg/Library/RiscVPlatformTimerLibNull/RiscVPlatformTimerLib.inf
create mode 100644 RiscVPkg/Library/RiscVTimerLib/BaseRiscVTimerLib.inf
create mode 100644 RiscVPkg/Universal/CpuDxe/CpuDxe.inf
create mode 100644 RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.inf
create mode 100644 RiscVPlatformPkg/Library/FirmwareContextProcessorSpecificLib/FirmwareContextProcessorSpecificLib.inf
create mode 100644 RiscVPlatformPkg/Library/OpensbiPlatformLibNull/OpensbiPlatformLibNull.inf
create mode 100644 RiscVPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
create mode 100644 RiscVPlatformPkg/Library/PlatformMemoryTestLibNull/PlatformMemoryTestLibNull.inf
create mode 100644 RiscVPlatformPkg/Library/PlatformUpdateProgressLibNull/PlatformUpdateProgressLibNull.inf
create mode 100644 RiscVPlatformPkg/Library/RealTimeClockLibNull/RealTimeClockLibNull.inf
create mode 100644 RiscVPlatformPkg/Library/RiscVPlatformTempMemoryInitLibNull/RiscVPlatformTempMemoryInitLibNull.inf
create mode 100644 RiscVPlatformPkg/Universal/Sec/SecMain.inf
create mode 100644 MdePkg/Include/RiscV64/ProcessorBind.h
create mode 100644 RiscVPkg/Include/IndustryStandard/RiscV.h
create mode 100644 RiscVPkg/Include/Library/RiscVCpuLib.h
create mode 100644 RiscVPkg/Include/Library/RiscVPlatformDxeIpl.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/Include/sbi/SbiFirmwareContext.h
create mode 100644 RiscVPkg/Include/sbi/sbi.h
create mode 100644 RiscVPkg/Include/sbi/sbi_bits.h
create mode 100644 RiscVPkg/Include/sbi/sbi_types.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/FirmwareContextProcessorSpecificLib.h
create mode 100644 RiscVPlatformPkg/Include/Library/RiscVPlatformTempMemoryInitLib.h
create mode 100644 RiscVPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManager.h
create mode 100644 RiscVPlatformPkg/Universal/Sec/SecMain.h
create mode 100644 MdeModulePkg/Core/DxeIplPeim/RiscV64/DxeLoadFunc.c
create mode 100644 MdePkg/Library/BaseCacheMaintenanceLib/RiscVCache.c
delete mode 100644 MdePkg/Library/BaseIoLibIntrinsic/IoLibArm.c
create mode 100644 MdePkg/Library/BaseIoLibIntrinsic/IoLibNoIo.c
create mode 100644 MdePkg/Library/BaseLib/RiscV64/CpuBreakpoint.c
create mode 100644 MdePkg/Library/BaseLib/RiscV64/CpuPause.c
create mode 100644 MdePkg/Library/BaseLib/RiscV64/DisableInterrupts.c
create mode 100644 MdePkg/Library/BaseLib/RiscV64/EnableInterrupts.c
create mode 100644 MdePkg/Library/BaseLib/RiscV64/GetInterruptState.c
create mode 100644 MdePkg/Library/BaseLib/RiscV64/InternalSwitchStack.c
create mode 100644 MdePkg/Library/BaseLib/RiscV64/LongJump.c
create mode 100644 MdePkg/Library/BasePeCoffLib/RiscV/PeCoffLoaderEx.c
create mode 100644 RiscVPkg/Library/PeiServicesTablePointerLibOpenSbi/PeiServicesTablePointerOpenSbi.c
create mode 100644 RiscVPkg/Library/RiscVDxeIplHandoffLib/RiscVDxeIplHandoffLib.c
create mode 100644 RiscVPkg/Library/RiscVDxeIplHandoffOpenSbiLib/RiscVDxeIplHandoffOpenSbiLib.c
create mode 100644 RiscVPkg/Library/RiscVExceptionLib/CpuExceptionHandlerLib.c
create mode 100644 RiscVPkg/Library/RiscVTimerLib/RiscVTimerLib.c
create mode 100644 RiscVPkg/Universal/CpuDxe/CpuDxe.c
create mode 100644 RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.c
create mode 100644 RiscVPlatformPkg/Library/FirmwareContextProcessorSpecificLib/FirmwareContextProcessorSpecificLib.c
create mode 100644 RiscVPlatformPkg/Library/OpensbiPlatformLibNull/Platform.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/PlatformUpdateProgressLibNull/PlatformUpdateProgressLibNull.c
create mode 100644 RiscVPlatformPkg/Library/RealTimeClockLibNull/RealTimeClockLibNull.c
create mode 100644 RiscVPlatformPkg/Universal/Sec/SecMain.c
create mode 100644 RiscVEdk2Readme.md
create mode 100644 RiscVPlatformPkg/Readme.md
create mode 100644 BaseTools/Scripts/GccBaseRiscV.lds
create mode 100644 MdePkg/Library/BaseCpuLib/RiscV/Cpu.S
create mode 100644 MdePkg/Library/BaseLib/RiscV64/FlushCache.S
create mode 100644 MdePkg/Library/BaseLib/RiscV64/RiscVCpuBreakpoint.S
create mode 100644 MdePkg/Library/BaseLib/RiscV64/RiscVCpuPause.S
create mode 100644 MdePkg/Library/BaseLib/RiscV64/RiscVInterrupt.S
create mode 100644 MdePkg/Library/BaseLib/RiscV64/RiscVSetJumpLongJump.S
create mode 100644 MdePkg/Library/BaseSynchronizationLib/RiscV64/SynchronizationAsm.S
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/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/Library/PlatformBootManagerLib/Strings.uni
create mode 100644 RiscVPlatformPkg/Library/RiscVPlatformTempMemoryInitLibNull/Riscv64/TempMemInit.S
create mode 100644 RiscVPlatformPkg/RiscVPlatformPkg.uni
create mode 100644 RiscVPlatformPkg/RiscVPlatformPkgExtra.uni
create mode 100644 RiscVPlatformPkg/Universal/Sec/Riscv64/SecEntry.S
[edk2-devel] [edk2-staging/RISC-V-V2 PATCH v3 00/39] RISC-V EDK2 Port on
Posted by Abner Chang 4 years, 6 months ago
The order of first 27 pacthes in "RISC-V-V2 PATCH v3" is identical to
"RISC-V-V2 PATCH v2", this is easier for reviewers to compare this set with v2.

This branch "RISC-V-V2" is used to contribute RISC-V architecture on EDK2.
The main changes of these series of patches are,
- Add RiscVPkg which conform with RISC-V Privilege Spec v1.10.
- Add RiscVPlatformPkg which provides common RISC-V library and driver modules
  for RISC-V platform.
- Incorporate and leverage RISC-V OpenSBI to provide EDK2 port OpenSBI library.
- Provide RISC-V platform implementation specific drivers to EDK2 RISC-V platform
  package.
- Provide generic RISC-V SMBIOS DXE drive to create SMBIOS type 4, 7 and 44 records,
  in which the SMBIOS type 44 record is introduced in SMBIOS spec 3.3.0.

Besides of patches, you can also get code from belwo git repositories.
- edk2-platforms/devel-riscv-v2-PATCHv5 for RISC-V platform,
  https://github.com/gilbert225/edk2-platforms/tree/devel-riscv-v2-PATCHv5
- edk2-staging-riscv/RISC-V-V2-v3  for RISC-V,
  https://github.com/changab/edk2-staging-riscv/tree/RISC-V-V2-v3

KNOWN ISSUES of this set of patches.
1. 0024-BaseTools-BaseTools-changes-for-RISC-V-platform
   * Line ending ('\n') is not CRLF
     File: BaseTools/Source/Python/Common/DataType.py
     Lines:   TAB_COMPILER_MSFT = 'MSFT'
   Not caused by chages of RISC-V edk2 port, will need a sperate patch to fix
   this issue.
2. 0027-RiscVPkg-RiscVOpensbLlib-Add-submodule-opensbi
   * Tab character used
   Not caused by chages of RISC-V edk2 port. Shall we fix this in .gitmodule?

   * Line ending ('\n') is not CRLF
     File: RiscVPkg/Library/RiscVOpensbiLib/opensbi
     Line: Subproject commit be92da280d87c38a2e0adc5d3f43bab7b5468f09
   Caused by submodle itself.
3. Some patches have subject is too long issue.

Abner Chang (38):
  RiscVPkg: RISC-V processor package.
  RiscVPkg/Include: Add header files of RISC-V CPU package
  RiscVPkg/opensbi: EDK2 RISC-V OpenSBI support
  MdePkg: RISC-V RV64 binding in MdePkg
  MdePkg/Include: RISC-V definitions.
  MdeModulePkg/CapsuleRuntimeDxe: Add RISCV64 arch.
  MdePkg/BaseLib: BaseLib for RISC-V RV64 Processor.
  MdePkg/BaseCacheMaintenanceLib:     RISC-V cache maintenance
    implementation.
  MdePkg/BaseIoLibIntrinsic: RISC-V I/O intrinsic functions.
  MdePkg/BasePeCoff: Add RISC-V PE/Coff related code.
  MdePkg/BaseCpuLib: RISC-V Base CPU library     implementation.
  MdePkg/BaseSynchronizationLib: RISC-V cache related code.
  MdeModulePkg/Logo
  NetworkPkg
  RiscVPkg/Library: RISC-V CPU library
  RiscVPkg/Library: Add RISC-V exception library
  RiscVPkg/Library: Add RISC-V timer library
  RiscVPkg/Library: Add EDK2 RISC-V OpenSBI library.
  RiscVPkg/Library: RISC-V platform level     DxeIPL libraries.
  MdeModulePkg/DxeIplPeim : RISC-V platform level DxeIPL
  RiscVPkg/PeiServicesTablePointerLibOpenSbi:     RISC-V PEI Service
    Table Pointer library
  RiscVPlatformPkg/RiscVPlatformTempMemoryInit:     RISC-V Platform
    Temporary Memory library
  RiscVPkg/CpuDxe: Add RISC-V CPU DXE driver.
  BaseTools: BaseTools changes for RISC-V platform.
  BaseTools/Scripts
  RiscVPkg/SmbiosDxe: Generic SMBIOS DXE driver     for RISC-V
    platforms.
  RiscVPkg/RiscVOpensbLlib: Add submodule opensbi
  RiscVPlatformPkg/FirmwareContextProcessorSpecificLib:Add
    FirmwareContextProcessorSpecificLib module
  RiscVPlatformPkg/RealTimeClockLibNull: Null instance of RTC lib.
  RiscVPlatformPkg/OpensbiPlatformLibNull: NULL instance of
    RiscVOpensbiPlatformLib
  RiscVPlatformPkg/PlatformMemoryTestLibNull: NULL instance of    
    PlatformMemoryTestLib
  RiscVPlatformPkg/PlatformUpdateProgressLibNull: NULL instance of    
    PlatformUpdateProgressLib
  RiscVPlatformPkg/PlatformBootManagerLib: Platform Boot Manager
    library.
  RiscVPkg/RiscVPlatformTimerLibNull: NULL instance of RISC-V platform
    timer library.
  RiscVPlatformPkg: Add RiscVPlatformPkg
  edk2-staging:RISC-V-V2: Add RiscVEdk2Readme.md
  edk2-staging: Revise Maintainers.txt for RISC-V packages
  edk2-staging: Revise Readme.md

Anup Patel (1):
  RiscVPlatformPkg/SecMain: RISC-V SecMain module.

 MdePkg/MdePkg.dec                                  |   5 +-
 RiscVPkg/RiscVPkg.dec                              |  41 ++
 RiscVPlatformPkg/RiscVPlatformPkg.dec              |  72 +++
 NetworkPkg/Network.dsc.inc                         |   2 +-
 RiscVPkg/RiscVPkg.dsc                              |  92 ++++
 RiscVPlatformPkg/RiscVPlatformPkg.dsc              |  73 +++
 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf            |  13 +-
 MdeModulePkg/Logo/Logo.inf                         |   2 +-
 .../CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf        |   9 +-
 .../BaseCacheMaintenanceLib.inf                    |   4 +
 MdePkg/Library/BaseCpuLib/BaseCpuLib.inf           |   6 +-
 .../BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf      |  12 +-
 MdePkg/Library/BaseLib/BaseLib.inf                 |  18 +-
 MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf     |   5 +
 .../BaseSynchronizationLib.inf                     |   5 +
 .../PeiServicesTablePointerLibOpenSbi.inf          |  38 ++
 RiscVPkg/Library/RiscVCpuLib/RiscVCpuLib.inf       |  34 ++
 .../RiscVDxeIplHandoffLib.inf                      |  32 ++
 .../RiscVDxeIplHandoffOpenSbiLib.inf               |  33 ++
 .../CpuExceptionHandlerDxeLib.inf                  |  43 ++
 .../Library/RiscVOpensbiLib/RiscVOpensbiLib.inf    |  53 ++
 .../RiscVPlatformTimerLib.inf                      |  35 ++
 .../Library/RiscVTimerLib/BaseRiscVTimerLib.inf    |  34 ++
 RiscVPkg/Universal/CpuDxe/CpuDxe.inf               |  48 ++
 RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.inf    |  55 ++
 .../FirmwareContextProcessorSpecificLib.inf        |  31 ++
 .../OpensbiPlatformLibNull.inf                     |  38 ++
 .../PlatformBootManagerLib.inf                     |  61 +++
 .../PlatformMemoryTestLibNull.inf                  |  29 +
 .../PlatformUpdateProgressLibNull.inf              |  29 +
 .../RealTimeClockLibNull/RealTimeClockLibNull.inf  |  30 ++
 .../RiscVPlatformTempMemoryInitLibNull.inf         |  34 ++
 RiscVPlatformPkg/Universal/Sec/SecMain.inf         |  72 +++
 BaseTools/Source/C/Common/PeCoffLib.h              |   9 +
 BaseTools/Source/C/GenFw/elf_common.h              |  62 +++
 .../Source/C/Include/IndustryStandard/PeImage.h    |   6 +
 MdePkg/Include/IndustryStandard/PeImage.h          |  12 +
 MdePkg/Include/Library/BaseLib.h                   |  26 +
 MdePkg/Include/Protocol/DebugSupport.h             |  55 ++
 MdePkg/Include/Protocol/PxeBaseCode.h              |   4 +
 MdePkg/Include/RiscV64/ProcessorBind.h             | 173 ++++++
 MdePkg/Include/Uefi/UefiBaseType.h                 |  13 +
 MdePkg/Include/Uefi/UefiSpec.h                     |   5 +
 .../Library/BasePeCoffLib/BasePeCoffLibInternals.h |   9 +
 RiscVPkg/Include/IndustryStandard/RiscV.h          | 118 ++++
 RiscVPkg/Include/Library/RiscVCpuLib.h             |  68 +++
 RiscVPkg/Include/Library/RiscVPlatformDxeIpl.h     |  41 ++
 RiscVPkg/Include/ProcessorSpecificHobData.h        |  97 ++++
 RiscVPkg/Include/RiscVImpl.h                       |  72 +++
 RiscVPkg/Include/SmbiosProcessorSpecificData.h     |  57 ++
 RiscVPkg/Include/sbi/SbiFirmwareContext.h          |  33 ++
 RiscVPkg/Include/sbi/sbi.h                         |  52 ++
 RiscVPkg/Include/sbi/sbi_bits.h                    |  17 +
 RiscVPkg/Include/sbi/sbi_types.h                   |  45 ++
 .../RiscVExceptionLib/CpuExceptionHandlerLib.h     |  16 +
 RiscVPkg/Universal/CpuDxe/CpuDxe.h                 | 199 +++++++
 RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.h      |  23 +
 .../Library/FirmwareContextProcessorSpecificLib.h  |  42 ++
 .../Library/RiscVPlatformTempMemoryInitLib.h       |  17 +
 .../PlatformBootManagerLib/PlatformBootManager.h   | 117 ++++
 RiscVPlatformPkg/Universal/Sec/SecMain.h           |  57 ++
 BaseTools/Source/C/Common/BasePeCoff.c             |  15 +-
 BaseTools/Source/C/Common/PeCoffLoaderEx.c         |  86 +++
 BaseTools/Source/C/GenFv/GenFvInternalLib.c        | 128 ++++-
 BaseTools/Source/C/GenFw/Elf32Convert.c            |   5 +-
 BaseTools/Source/C/GenFw/Elf64Convert.c            | 282 +++++++++-
 MdeModulePkg/Core/DxeIplPeim/RiscV64/DxeLoadFunc.c |  76 +++
 .../Library/BaseCacheMaintenanceLib/RiscVCache.c   | 250 +++++++++
 MdePkg/Library/BaseIoLibIntrinsic/IoLibArm.c       | 593 ---------------------
 MdePkg/Library/BaseIoLibIntrinsic/IoLibNoIo.c      | 593 +++++++++++++++++++++
 MdePkg/Library/BaseLib/RiscV64/CpuBreakpoint.c     |  27 +
 MdePkg/Library/BaseLib/RiscV64/CpuPause.c          |  29 +
 MdePkg/Library/BaseLib/RiscV64/DisableInterrupts.c |  24 +
 MdePkg/Library/BaseLib/RiscV64/EnableInterrupts.c  |  25 +
 MdePkg/Library/BaseLib/RiscV64/GetInterruptState.c |  35 ++
 .../Library/BaseLib/RiscV64/InternalSwitchStack.c  |  55 ++
 MdePkg/Library/BaseLib/RiscV64/LongJump.c          |  32 ++
 MdePkg/Library/BasePeCoffLib/BasePeCoff.c          |   3 +-
 .../Library/BasePeCoffLib/RiscV/PeCoffLoaderEx.c   | 133 +++++
 .../PeiServicesTablePointerOpenSbi.c               | 121 +++++
 .../RiscVDxeIplHandoffLib/RiscVDxeIplHandoffLib.c  |  41 ++
 .../RiscVDxeIplHandoffOpenSbiLib.c                 | 101 ++++
 .../RiscVExceptionLib/CpuExceptionHandlerLib.c     | 191 +++++++
 RiscVPkg/Library/RiscVTimerLib/RiscVTimerLib.c     | 199 +++++++
 RiscVPkg/Universal/CpuDxe/CpuDxe.c                 | 317 +++++++++++
 RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.c      | 339 ++++++++++++
 .../FirmwareContextProcessorSpecificLib.c          |  94 ++++
 .../Library/OpensbiPlatformLibNull/Platform.c      |  44 ++
 .../PlatformBootManagerLib/PlatformBootManager.c   | 243 +++++++++
 .../Library/PlatformBootManagerLib/PlatformData.c  |  49 ++
 .../PlatformMemoryTestLibNull.c                    |  29 +
 .../PlatformUpdateProgressLibNull.c                |  52 ++
 .../RealTimeClockLibNull/RealTimeClockLibNull.c    | 204 +++++++
 RiscVPlatformPkg/Universal/Sec/SecMain.c           | 523 ++++++++++++++++++
 Readme.md                                          |   1 +
 RiscVEdk2Readme.md                                 |  64 +++
 RiscVPlatformPkg/Readme.md                         |  78 +++
 .gitmodules                                        |  15 +-
 BaseTools/Conf/build_rule.template                 |  54 +-
 BaseTools/Conf/tools_def.template                  |  64 ++-
 BaseTools/Scripts/GccBaseRiscV.lds                 |  79 +++
 BaseTools/Source/Python/Common/DataType.py         |   7 +-
 BaseTools/Source/Python/Common/buildoptions.py     |   6 +-
 Maintainers.txt                                    |  15 +
 MdePkg/Library/BaseCpuLib/BaseCpuLib.uni           |   5 +-
 MdePkg/Library/BaseCpuLib/RiscV/Cpu.S              |  19 +
 MdePkg/Library/BaseLib/RiscV64/FlushCache.S        |  21 +
 .../Library/BaseLib/RiscV64/RiscVCpuBreakpoint.S   |  14 +
 MdePkg/Library/BaseLib/RiscV64/RiscVCpuPause.S     |  14 +
 MdePkg/Library/BaseLib/RiscV64/RiscVInterrupt.S    |  32 ++
 .../Library/BaseLib/RiscV64/RiscVSetJumpLongJump.S |  55 ++
 MdePkg/Library/BasePeCoffLib/BasePeCoffLib.uni     |   2 +
 .../RiscV64/SynchronizationAsm.S                   |  78 +++
 .../PeiServicesTablePointerLibOpenSbi.uni          |  23 +
 RiscVPkg/Library/RiscVCpuLib/Cpu.S                 | 115 ++++
 .../RiscVExceptionLib/CpuExceptionHandlerLib.uni   |  13 +
 .../RiscVExceptionLib/SupervisorTrapHandler.S      |  88 +++
 RiscVPkg/Library/RiscVOpensbiLib/opensbi           |   1 +
 .../RiscVPlatformTimerLibNull.S                    |  40 ++
 RiscVPkg/RiscVPkg.uni                              |  13 +
 RiscVPkg/RiscVPkgExtra.uni                         |  13 +
 RiscVPkg/Universal/CpuDxe/CpuDxe.uni               |  13 +
 RiscVPkg/Universal/CpuDxe/CpuDxeExtra.uni          |  14 +
 RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.uni    |  12 +
 .../Universal/SmbiosDxe/RiscVSmbiosDxeExtra.uni    |  13 +
 .../Library/PlatformBootManagerLib/Strings.uni     |  28 +
 .../Riscv64/TempMemInit.S                          |  26 +
 RiscVPlatformPkg/RiscVPlatformPkg.uni              |  15 +
 RiscVPlatformPkg/RiscVPlatformPkgExtra.uni         |  12 +
 RiscVPlatformPkg/Universal/Sec/Riscv64/SecEntry.S  | 442 +++++++++++++++
 130 files changed, 8320 insertions(+), 655 deletions(-)
 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/RiscVDxeIplHandoffLib/RiscVDxeIplHandoffLib.inf
 create mode 100644 RiscVPkg/Library/RiscVDxeIplHandoffOpenSbiLib/RiscVDxeIplHandoffOpenSbiLib.inf
 create mode 100644 RiscVPkg/Library/RiscVExceptionLib/CpuExceptionHandlerDxeLib.inf
 create mode 100644 RiscVPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf
 create mode 100644 RiscVPkg/Library/RiscVPlatformTimerLibNull/RiscVPlatformTimerLib.inf
 create mode 100644 RiscVPkg/Library/RiscVTimerLib/BaseRiscVTimerLib.inf
 create mode 100644 RiscVPkg/Universal/CpuDxe/CpuDxe.inf
 create mode 100644 RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.inf
 create mode 100644 RiscVPlatformPkg/Library/FirmwareContextProcessorSpecificLib/FirmwareContextProcessorSpecificLib.inf
 create mode 100644 RiscVPlatformPkg/Library/OpensbiPlatformLibNull/OpensbiPlatformLibNull.inf
 create mode 100644 RiscVPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
 create mode 100644 RiscVPlatformPkg/Library/PlatformMemoryTestLibNull/PlatformMemoryTestLibNull.inf
 create mode 100644 RiscVPlatformPkg/Library/PlatformUpdateProgressLibNull/PlatformUpdateProgressLibNull.inf
 create mode 100644 RiscVPlatformPkg/Library/RealTimeClockLibNull/RealTimeClockLibNull.inf
 create mode 100644 RiscVPlatformPkg/Library/RiscVPlatformTempMemoryInitLibNull/RiscVPlatformTempMemoryInitLibNull.inf
 create mode 100644 RiscVPlatformPkg/Universal/Sec/SecMain.inf
 create mode 100644 MdePkg/Include/RiscV64/ProcessorBind.h
 create mode 100644 RiscVPkg/Include/IndustryStandard/RiscV.h
 create mode 100644 RiscVPkg/Include/Library/RiscVCpuLib.h
 create mode 100644 RiscVPkg/Include/Library/RiscVPlatformDxeIpl.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/Include/sbi/SbiFirmwareContext.h
 create mode 100644 RiscVPkg/Include/sbi/sbi.h
 create mode 100644 RiscVPkg/Include/sbi/sbi_bits.h
 create mode 100644 RiscVPkg/Include/sbi/sbi_types.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/FirmwareContextProcessorSpecificLib.h
 create mode 100644 RiscVPlatformPkg/Include/Library/RiscVPlatformTempMemoryInitLib.h
 create mode 100644 RiscVPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManager.h
 create mode 100644 RiscVPlatformPkg/Universal/Sec/SecMain.h
 create mode 100644 MdeModulePkg/Core/DxeIplPeim/RiscV64/DxeLoadFunc.c
 create mode 100644 MdePkg/Library/BaseCacheMaintenanceLib/RiscVCache.c
 delete mode 100644 MdePkg/Library/BaseIoLibIntrinsic/IoLibArm.c
 create mode 100644 MdePkg/Library/BaseIoLibIntrinsic/IoLibNoIo.c
 create mode 100644 MdePkg/Library/BaseLib/RiscV64/CpuBreakpoint.c
 create mode 100644 MdePkg/Library/BaseLib/RiscV64/CpuPause.c
 create mode 100644 MdePkg/Library/BaseLib/RiscV64/DisableInterrupts.c
 create mode 100644 MdePkg/Library/BaseLib/RiscV64/EnableInterrupts.c
 create mode 100644 MdePkg/Library/BaseLib/RiscV64/GetInterruptState.c
 create mode 100644 MdePkg/Library/BaseLib/RiscV64/InternalSwitchStack.c
 create mode 100644 MdePkg/Library/BaseLib/RiscV64/LongJump.c
 create mode 100644 MdePkg/Library/BasePeCoffLib/RiscV/PeCoffLoaderEx.c
 create mode 100644 RiscVPkg/Library/PeiServicesTablePointerLibOpenSbi/PeiServicesTablePointerOpenSbi.c
 create mode 100644 RiscVPkg/Library/RiscVDxeIplHandoffLib/RiscVDxeIplHandoffLib.c
 create mode 100644 RiscVPkg/Library/RiscVDxeIplHandoffOpenSbiLib/RiscVDxeIplHandoffOpenSbiLib.c
 create mode 100644 RiscVPkg/Library/RiscVExceptionLib/CpuExceptionHandlerLib.c
 create mode 100644 RiscVPkg/Library/RiscVTimerLib/RiscVTimerLib.c
 create mode 100644 RiscVPkg/Universal/CpuDxe/CpuDxe.c
 create mode 100644 RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.c
 create mode 100644 RiscVPlatformPkg/Library/FirmwareContextProcessorSpecificLib/FirmwareContextProcessorSpecificLib.c
 create mode 100644 RiscVPlatformPkg/Library/OpensbiPlatformLibNull/Platform.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/PlatformUpdateProgressLibNull/PlatformUpdateProgressLibNull.c
 create mode 100644 RiscVPlatformPkg/Library/RealTimeClockLibNull/RealTimeClockLibNull.c
 create mode 100644 RiscVPlatformPkg/Universal/Sec/SecMain.c
 create mode 100644 RiscVEdk2Readme.md
 create mode 100644 RiscVPlatformPkg/Readme.md
 create mode 100644 BaseTools/Scripts/GccBaseRiscV.lds
 create mode 100644 MdePkg/Library/BaseCpuLib/RiscV/Cpu.S
 create mode 100644 MdePkg/Library/BaseLib/RiscV64/FlushCache.S
 create mode 100644 MdePkg/Library/BaseLib/RiscV64/RiscVCpuBreakpoint.S
 create mode 100644 MdePkg/Library/BaseLib/RiscV64/RiscVCpuPause.S
 create mode 100644 MdePkg/Library/BaseLib/RiscV64/RiscVInterrupt.S
 create mode 100644 MdePkg/Library/BaseLib/RiscV64/RiscVSetJumpLongJump.S
 create mode 100644 MdePkg/Library/BaseSynchronizationLib/RiscV64/SynchronizationAsm.S
 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/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/Library/PlatformBootManagerLib/Strings.uni
 create mode 100644 RiscVPlatformPkg/Library/RiscVPlatformTempMemoryInitLibNull/Riscv64/TempMemInit.S
 create mode 100644 RiscVPlatformPkg/RiscVPlatformPkg.uni
 create mode 100644 RiscVPlatformPkg/RiscVPlatformPkgExtra.uni
 create mode 100644 RiscVPlatformPkg/Universal/Sec/Riscv64/SecEntry.S

-- 
2.7.4


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#49483): https://edk2.groups.io/g/devel/message/49483
Mute This Topic: https://groups.io/mt/38757501/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

[edk2-devel] [edk2-staging/RISC-V-V2 PATCH v3 27/39] RiscVPkg/RiscVOpensbLlib: Add submodule opensbi
Posted by Abner Chang 4 years, 6 months ago
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#49503): https://edk2.groups.io/g/devel/message/49503
Mute This Topic: https://groups.io/mt/38757544/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [edk2-staging/RISC-V-V2 PATCH v3 27/39] RiscVPkg/RiscVOpensbLlib: Add submodule opensbi
Posted by Leif Lindholm 4 years, 5 months ago
On Mon, Oct 28, 2019 at 09:59:05 +0800, Abner Chang wrote:
> Add submodule opensbi under RiscVPkg/Library/RiscVOpensbLlib.

OpensbiLib (fix typo). Also in subject line.

> The current supported opensbi version for RISC-V edk2 port
> is tags/v0.5.
> 
> Signed-off-by: Abner Chang <abner.chang@hpe.com>
> 
> Cc: Leif Lindholm <leif.lindholm@linaro.org>
> Cc: Gilbert Chen <gilbert.chen@hpe.com>
> ---
>  .gitmodules                              | 15 +++++++++------
>  RiscVPkg/Library/RiscVOpensbiLib/opensbi |  1 +
>  2 files changed, 10 insertions(+), 6 deletions(-)
>  create mode 160000 RiscVPkg/Library/RiscVOpensbiLib/opensbi
> 
> diff --git a/.gitmodules b/.gitmodules
> index 508f0c1..d2d823a 100644
> --- a/.gitmodules
> +++ b/.gitmodules
> @@ -1,6 +1,9 @@
> -[submodule "CryptoPkg/Library/OpensslLib/openssl"]
> -	path = CryptoPkg/Library/OpensslLib/openssl
> -	url = https://github.com/openssl/openssl
> -[submodule "SoftFloat"]
> -	path = ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3
> -	url = https://github.com/ucb-bar/berkeley-softfloat-3.git
> +[submodule "CryptoPkg/Library/OpensslLib/openssl"]

Urgh.

> +	path = CryptoPkg/Library/OpensslLib/openssl
> +	url = https://github.com/openssl/openssl
> +[submodule "SoftFloat"]
> +	path = ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3
> +	url = https://github.com/ucb-bar/berkeley-softfloat-3.git

Make sure this patch *only* adds Opensbi, without modifying the
existing entries.

And please move this patch to before the first one that contains a
.inf making use of the source in this submodule.

/
    Leif

> +[submodule "RiscVPkg/Library/RiscVOpensbiLib/opensbi"]
> +	path = RiscVPkg/Library/RiscVOpensbiLib/opensbi
> +	url = https://github.com/riscv/opensbi.git
> diff --git a/RiscVPkg/Library/RiscVOpensbiLib/opensbi b/RiscVPkg/Library/RiscVOpensbiLib/opensbi
> new file mode 160000
> index 0000000..be92da2
> --- /dev/null
> +++ b/RiscVPkg/Library/RiscVOpensbiLib/opensbi
> @@ -0,0 +1 @@
> +Subproject commit be92da280d87c38a2e0adc5d3f43bab7b5468f09
> -- 
> 2.7.4
> 

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#51101): https://edk2.groups.io/g/devel/message/51101
Mute This Topic: https://groups.io/mt/38757544/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

[edk2-devel] [edk2-staging/RISC-V-V2 PATCH v3 33/39] RiscVPlatformPkg/PlatformBootManagerLib: Platform Boot Manager library.
Posted by Abner Chang 4 years, 6 months ago
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#49509): https://edk2.groups.io/g/devel/message/49509
Mute This Topic: https://groups.io/mt/38757575/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-