[edk2-devel] [edk2 0/2] RISC-V SBI-backed SerialLib
Andrei Warkentin
andrei.warkentin at intel.com
Wed Mar 1 07:43:56 UTC 2023
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/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list