return EFI_INVALID_PARAMETER;
> + return EFI_EXIT(EFI_INVALID_PARAMETER);
>
> *boot_hartid = gd->arch.boot_hart;
>
Reviewed-by: Sunil V L
> --
> 2.37.2
>
Add a test for the RISCV_EFI_BOOT_PROTOCOL.
Signed-off-by: Sunil V L
---
lib/efi_selftest/Makefile | 1 +
lib/efi_selftest/efi_selftest_riscv.c | 119 ++
2 files changed, 120 insertions(+)
create mode 100644 lib/efi_selftest/efi_selftest_riscv.c
diff
This adds support for new RISCV_EFI_BOOT_PROTOCOL to
communicate the boot hart ID to bootloader/kernel on RISC-V
UEFI platforms.
The specification of the protocol is hosted at:
https://github.com/riscv-non-isa/riscv-uefi
Signed-off-by: Sunil V L
---
include/efi_api.h | 4 +++
include
which consume this protocol.
The linux patch can be found in:
riscv_boot_protocol_rfc_v2 branch at https://github.com/vlsunil/linux.git
Changes since RFC V1:
- Used EFI_ENTRY/EXIT and removed need for static variable
- Addressed other comments from Heinrich
- Added unit test patch
Sunil V
Hi Heinrich,
On Thu, Jan 27, 2022 at 09:44:57AM +0100, Heinrich Schuchardt wrote:
> On 1/26/22 12:06, Sunil V L wrote:
> > This adds support for new RISCV_EFI_BOOT_PROTOCOL to
> > communicate the boot hart ID to bootloader/kernel on RISC-V
> > UEFI platforms.
> >
&
This adds support for new RISCV_EFI_BOOT_PROTOCOL to
communicate the boot hart ID to bootloader/kernel on RISC-V
UEFI platforms.
Signed-off-by: Sunil V L
---
include/efi_api.h | 4 +++
include/efi_loader.h | 2 ++
include/efi_riscv.h| 16 +
lib/efi_loader
this protocol.
The linux patch can be found in:
riscv_boot_protocol_rfc_v1 branch at https://github.com/vlsunil/linux.git
Sunil V L (1):
efi_loader: Enable RISCV_EFI_BOOT_PROTOCOL support
include/efi_api.h | 4 +++
include/efi_loader.h | 2 ++
include/efi_riscv.h| 16
7 matches
Mail list logo