public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2 0/2] RISC-V SBI-backed SerialLib
@ 2023-03-01  7:43 Andrei Warkentin
  2023-03-01  7:43 ` [edk2 1/2] MdePkg: BaseRiscVSbiLib: make more useful to consumers Andrei Warkentin
  2023-03-01  7:43 ` [edk2 2/2] MdePkg: add BaseSerialPortLibRiscVSbi Andrei Warkentin
  0 siblings, 2 replies; 12+ messages in thread
From: Andrei Warkentin @ 2023-03-01  7:43 UTC (permalink / raw)
  To: devel; +Cc: Andrei Warkentin, Daniel Schaefer, Sunil V L

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-03-02 13:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-01  7:43 [edk2 0/2] RISC-V SBI-backed SerialLib Andrei Warkentin
2023-03-01  7:43 ` [edk2 1/2] MdePkg: BaseRiscVSbiLib: make more useful to consumers Andrei Warkentin
2023-03-01  7:43 ` [edk2 2/2] MdePkg: add BaseSerialPortLibRiscVSbi Andrei Warkentin
2023-03-01  8:13   ` [edk2-devel] " Gerd Hoffmann
2023-03-01  8:50     ` Andrei Warkentin
2023-03-01  9:07       ` Gerd Hoffmann
2023-03-01 16:55         ` Michael D Kinney
2023-03-01 17:26           ` Andrei Warkentin
2023-03-01 17:51             ` Michael D Kinney
2023-03-01 17:56               ` Andrei Warkentin
2023-03-02 10:34                 ` Sunil V L
2023-03-02 13:32                   ` Andrei Warkentin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox