-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from Alignof/develop
Ver 0.2.0
- Loading branch information
Showing
49 changed files
with
8,958 additions
and
1,324 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[target.riscv64imac-unknown-none-elf] | ||
runner = "qemu-system-riscv64 -S -gdb tcp::10000 -machine virt -bios none -nographic -m 2G -initrd vmlinux_debug -kernel" | ||
#runner = "qemu-system-riscv64 -S -gdb tcp::10000 -d int,in_asm,cpu_reset,mmu,page,guest_errors -machine virt -bios none -nographic -m 2G -initrd vmlinux -kernel" | ||
#runner = "qemu-system-riscv64 -machine virt -bios none -nographic -m 2G -initrd vmlinux -kernel" | ||
|
||
rustflags = [ | ||
"-C", "link-arg=-Tmemory.x", | ||
"-C", "link-arg=-Tlink.x", | ||
"-C", "target-feature=+h", | ||
] | ||
|
||
[build] | ||
target = "riscv64imac-unknown-none-elf" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,4 @@ Cargo.lock | |
.gdb_history | ||
fedora-vmlinux | ||
stage4-disk.img | ||
vmlinux_debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
[package] | ||
name = "hikami" | ||
version = "0.1.0" | ||
version = "0.2.0" | ||
edition = "2021" | ||
|
||
[lints.clippy] | ||
pedantic = "warn" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[[bin]] | ||
name = "hikami" | ||
path = "src/machine_init.rs" | ||
|
||
[dependencies] | ||
elf = { version = "0.7.2", default-features = false } | ||
fdt = "0.1.5" | ||
panic-halt = "0.2.0" | ||
riscv = "0.10.1" | ||
linked_list_allocator = "0.10.5" | ||
raki = { version = "1.0.0-beta.3" } | ||
riscv = "0.11.1" | ||
riscv-rt = "0.11.0" | ||
rustsbi = { version = "0.4.0-alpha.1", features = ["machine"] } | ||
sbi-rt = "0.0.3" | ||
sbi-spec = { version = "0.0.7", features = [ "legacy" ] } | ||
spin = "0.9.8" | ||
wild_screen_alloc = { version = "0.1.1", path = "wild-screen-alloc" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,16 @@ | ||
# hikami | ||
[![Rust](https://github.com/Alignof/hikami/actions/workflows/rust.yml/badge.svg)](https://github.com/Alignof/hikami/actions/workflows/rust.yml) | ||
Light weight hypervisor for RISC-V H-extension. | ||
|
||
## Tutorial | ||
TODO | ||
|
||
## References | ||
- [The RISC-V Instruction Set Manual: Volume I Version 20240411](https://github.com/riscv/riscv-isa-manual/releases/download/20240411/unpriv-isa-asciidoc.pdf) | ||
- [The RISC-V Instruction Set Manual: Volume II Version 20240411](https://github.com/riscv/riscv-isa-manual/releases/download/20240411/priv-isa-asciidoc.pdf) | ||
- [Rvirt](https://github.com/mit-pdos/RVirt) | ||
- [hypocaust-2](https://github.com/KuangjuX/hypocaust-2) | ||
|
||
## Acknowledgement | ||
Exploratory IT Human Resources Project (MITOU Program) of Information-technology Promotion Agency, Japan (IPA) in the fiscal year 2024. | ||
[https://www.ipa.go.jp/jinzai/mitou/it/2024/gaiyou-tn-3.html](https://www.ipa.go.jp/jinzai/mitou/it/2024/gaiyou-tn-3.html) |
Oops, something went wrong.