From: "Daniel Schaefer" <daniel.schaefer@hpe.com>
To: <devel@edk2.groups.io>
Cc: Gilbert Chen <gilbert.chen@hpe.com>,
Abner Chang <abner.chang@hpe.com>,
Leif Lindholm <leif@nuviainc.com>,
Michael D Kinney <michael.d.kinney@intel.com>
Subject: [platform/devel-riscvplatforms PATCHv1 0/2] New RISC-V patches
Date: Mon, 11 May 2020 19:20:13 +0200 [thread overview]
Message-ID: <20200511172015.5139-1-daniel.schaefer@hpe.com> (raw)
We have moved most of our RISC-V implementation to edk2-platforms now, only the
absolute minimum is in edk2, already merged.
All other patches going into edk2-platforms have already been merged, these are new.
The first adds opensbi as a submodule. We wanted to have it reviewed because it
would be the first submodule in the edk2-platforms repository. Is that okay?
Since we are now running PEI in addition to DXE in S-Mode (like Ring 3 in x86),
we need to call into the SBI interface. The new library provides an interface
for EDK2 code to do that. It just wraps the ecall assembly instruction as a C
interface with EDK2-style return codes.
Cc: Gilbert Chen <gilbert.chen@hpe.com>
Cc: Abner Chang <abner.chang@hpe.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Daniel Schaefer (2):
ProcessorPkg/RiscVOpensbLlib: Add submodule opensbi
ProcessorPkg/Library: Add EDK2 RISC-V OpenSBI library.
Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf | 60 +++++++++++++++
Silicon/RISC-V/ProcessorPkg/Include/IndustryStandard/RiscVOpensbi.h | 79 ++++++++++++++++++++
Silicon/RISC-V/ProcessorPkg/Include/OpensbiTypes.h | 66 ++++++++++++++++
.gitmodules | 3 +
Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi | 1 +
5 files changed, 209 insertions(+)
create mode 100644 Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf
create mode 100644 Silicon/RISC-V/ProcessorPkg/Include/IndustryStandard/RiscVOpensbi.h
create mode 100644 Silicon/RISC-V/ProcessorPkg/Include/OpensbiTypes.h
create mode 100644 .gitmodules
create mode 160000 Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi
--
2.26.1
next reply other threads:[~2020-05-11 17:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-11 17:20 Daniel Schaefer [this message]
2020-05-11 17:20 ` [platform/devel-riscvplatforms PATCHv1 1/2] ProcessorPkg/RiscVOpensbLlib: Add submodule opensbi Daniel Schaefer
2020-05-11 17:20 ` [platform/devel-riscvplatforms PATCHv1 2/2] ProcessorPkg/Library: Add EDK2 RISC-V OpenSBI library Daniel Schaefer
2020-05-11 23:17 ` [edk2-devel] " Leif Lindholm
2020-05-15 13:38 ` Daniel Schaefer
2020-05-11 17:38 ` [platform/devel-riscvplatforms PATCHv1 0/2] New RISC-V patches Leif Lindholm
2020-05-12 0:38 ` Abner Chang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200511172015.5139-1-daniel.schaefer@hpe.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox