[edk2-devel] [edk2 0/2] RISC-V SBI-backed SerialLib

Andrei Warkentin posted 2 patches 1 year, 1 month ago
Failed in applying to current master (apply log)
There is a newer version of this series
MdePkg/Library/BaseSerialPortLibRiscVSbi/BaseSerialPortLibRiscVSbi.inf |  32 +++
MdePkg/Include/Library/BaseRiscVSbiLib.h                               |  40 ++-
MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.c                       |   3 +-
MdePkg/Library/BaseSerialPortLibRiscVSbi/BaseSerialPortLibRiscVSbi.c   | 260 ++++++++++++++++++++
MdePkg/Library/BaseSerialPortLibRiscVSbi/BaseSerialPortLibRiscVSbi.uni |  16 ++
5 files changed, 346 insertions(+), 5 deletions(-)
create mode 100644 MdePkg/Library/BaseSerialPortLibRiscVSbi/BaseSerialPortLibRiscVSbi.inf
create mode 100644 MdePkg/Library/BaseSerialPortLibRiscVSbi/BaseSerialPortLibRiscVSbi.c
create mode 100644 MdePkg/Library/BaseSerialPortLibRiscVSbi/BaseSerialPortLibRiscVSbi.uni
[edk2-devel] [edk2 0/2] RISC-V SBI-backed SerialLib
Posted by Andrei Warkentin 1 year, 1 month ago
Hello!

Here are two patches that give a SerialLib backed by
SBI console. Both legacy and DBCN mechanisms are
supported and have been tested (with UART and HTIF).

This is also available at https://github.com/andreiw/edk2-rv-wip/tree/patchset-2

Andrei Warkentin (2):
  MdePkg: BaseRiscVSbiLib: make more useful to consumers
  MdePkg: add BaseSerialPortLibRiscVSbi

 MdePkg/Library/BaseSerialPortLibRiscVSbi/BaseSerialPortLibRiscVSbi.inf |  32 +++
 MdePkg/Include/Library/BaseRiscVSbiLib.h                               |  40 ++-
 MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.c                       |   3 +-
 MdePkg/Library/BaseSerialPortLibRiscVSbi/BaseSerialPortLibRiscVSbi.c   | 260 ++++++++++++++++++++
 MdePkg/Library/BaseSerialPortLibRiscVSbi/BaseSerialPortLibRiscVSbi.uni |  16 ++
 5 files changed, 346 insertions(+), 5 deletions(-)
 create mode 100644 MdePkg/Library/BaseSerialPortLibRiscVSbi/BaseSerialPortLibRiscVSbi.inf
 create mode 100644 MdePkg/Library/BaseSerialPortLibRiscVSbi/BaseSerialPortLibRiscVSbi.c
 create mode 100644 MdePkg/Library/BaseSerialPortLibRiscVSbi/BaseSerialPortLibRiscVSbi.uni

-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#100582): https://edk2.groups.io/g/devel/message/100582
Mute This Topic: https://groups.io/mt/97309872/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-