Skip to content

Commit 327d032

Browse files
RuoqingHerbradford
authored andcommitted
README: Introduce riscv64 architecture
Add entries to document newly introduced support for riscv64. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
1 parent e28b380 commit 327d032

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
The `linux-loader` crate offers support for loading raw ELF (`vmlinux`) and
77
compressed big zImage (`bzImage`) format kernel images on `x86_64` and PE
8-
(`Image`) kernel images on `aarch64`. ELF support includes the
8+
(`Image`) kernel images on `aarch64` and `riscv64`. ELF support includes the
99
[Linux](https://www.kernel.org/doc/Documentation/x86/boot.txt) and
1010
[PVH](https://xenbits.xen.org/docs/unstable/misc/pvh.html) boot protocols.
1111

@@ -17,8 +17,9 @@ much of the boot process remains the VMM's responsibility. See [Usage] for detai
1717
- Parsing and loading kernel images into guest memory.
1818
- `x86_64`: `vmlinux` (raw ELF image), `bzImage`
1919
- `aarch64`: `Image`
20+
- `riscv64`: `Image`
2021
- Parsing and building the kernel command line.
21-
- Loading device tree blobs (`aarch64`).
22+
- Loading device tree blobs (`aarch64` and `riscv64`).
2223
- Configuring boot parameters using the exported primitives.
2324
- `x86_64` Linux boot:
2425
- [`setup_header`](https://elixir.bootlin.com/linux/latest/source/arch/x86/include/uapi/asm/bootparam.h#L65)
@@ -29,6 +30,8 @@ much of the boot process remains the VMM's responsibility. See [Usage] for detai
2930
- [`hvm_memmap_table_entry`](https://elixir.bootlin.com/linux/latest/source/include/xen/interface/hvm/start_info.h#L152)
3031
- `aarch64` boot:
3132
- [`arm64_image_header`](https://elixir.bootlin.com/linux/latest/source/arch/arm64/include/asm/image.h#L44)
33+
- `riscv64` boot:
34+
- [`riscv64_image_header`](https://elixir.bootlin.com/linux/latest/source/arch/riscv/include/asm/image.h#L51)
3235

3336
## Usage
3437

0 commit comments

Comments
 (0)