]> git.ipfire.org Git - thirdparty/grub.git/commit
RISC-V: Add Linux load logic
authorAlexander Graf <agraf@suse.de>
Tue, 12 Feb 2019 10:31:03 +0000 (11:31 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 25 Feb 2019 10:33:06 +0000 (11:33 +0100)
commit222a34304cf409ebcc2dab8ce022d50eb6f9c2fa
tree030b093c9844697bae907a3d1b60675ae7a14284
parent4bcb1ac4f792985651b55d025cf86d6008ff4475
RISC-V: Add Linux load logic

We currently only support to run grub on RISC-V as UEFI payload. Ideally,
we also only want to support running Linux underneath as UEFI payload.

Prepare that with some Linux boot stub code. Once the arm64 target is
generalized, we can hook into that one and gain boot functionality.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/loader/riscv/linux.c [new file with mode: 0644]
include/grub/riscv32/linux.h [new file with mode: 0644]
include/grub/riscv64/linux.h [new file with mode: 0644]