Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e671238
[wip][add] add `map_all_device_region`
Alignof Sep 10, 2025
d1c44d4
[wip][update] remove `create_page_table_for_other_devices`
Alignof Sep 10, 2025
95eb45a
[wip][update] remove `create_page_table` from `Device::new`
Alignof Sep 10, 2025
bda752c
[wip][add] add `invalidate_address_range`
Alignof Sep 10, 2025
9e4ca61
[add] add `MmioDevice::invalidate_page_table`
Alignof Sep 10, 2025
0c99cf9
[add] add error message to `handle_virtual_inst` in the extension_man…
Alignof Sep 11, 2025
2c7d132
[!][update] handle senvcfg exception
Alignof Sep 11, 2025
58c5536
[refactor] fix cargo clippy warings
Alignof Sep 11, 2025
47cef84
[!][update] implement `invalidate_page_table` to each devices
Alignof Sep 11, 2025
316f5d8
[!][fix] fix `split_memory_maps`
Alignof Sep 14, 2025
ac03a6c
[!][update] revert guest.dts
Alignof Sep 14, 2025
340fb1a
[!][wip][update] map all memory region
Alignof Sep 14, 2025
84e2da7
[rebase] fix cma size in device tree
Alignof Sep 14, 2025
e7a238e
[fix] fix interrupts-extended in device tree
Alignof Sep 14, 2025
2927ed0
[!][wip][update] change guest mamory size (512MB -> 2GB)
Alignof Sep 14, 2025
052a1fa
[update] update device tree based on 2025-0423 img
Alignof Sep 17, 2025
b8974ae
[!][fix] add mapping for axi4-sys-port
Alignof Sep 17, 2025
a5468ba
[update] change device tree parameters with actual parameters
Alignof Sep 18, 2025
381d295
[!][update] update memory layout of the hikami
Alignof Sep 18, 2025
9b69d4d
[update] update memory map
Alignof Sep 20, 2025
8dd5982
[update] disable cooling-maps of cpu1-3 in device tree
Alignof Sep 21, 2025
65d7abe
[fix] fix linux,cma range in device tree
Alignof Sep 21, 2025
3aa2843
[!][wip][update] it works on megrez if hart id matches
Alignof Sep 22, 2025
dc50ffb
[fix] return corresponding exception code in `hs_forward_exception`
Alignof Sep 22, 2025
46d7974
[add] add debug code for a hypervisor level exception
Alignof Sep 22, 2025
2019a5d
[fix] apply `cargo clippy --fix`
Alignof Sep 23, 2025
f7cd63a
[fix] fix cargo clippy warnings
Alignof Sep 23, 2025
fe3d0de
[refactor] allow unused argument in `MmioDevice::root_page_table_addr`
Alignof Sep 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ qemu-system-riscv64
# runner = "../../qemu/build/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_debug -drive file=rootfs.img,format=raw,id=hd0,if=none -device virtio-blk-pci,drive=hd0,iommu_platform=true,disable-legacy=on -append root=/dev/vda,rw,console=ttyS0 -device riscv-iommu-pci -kernel"
# memo: maintenance packet Qqemu.PhyMemMode:1

rustflags = [
"-C", "link-arg=-Tmemory.x",
"-C", "target-feature=+h",
]
rustflags = ["-C", "link-arg=-Tmemory.x", "-C", "target-feature=+h"]

[build]
target = "riscv64imac-unknown-none-elf"
1 change: 1 addition & 0 deletions extension_manager/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub fn handle_virtual_inst(_input: TokenStream) -> TokenStream {
OpcodeKind::Zicsr(_) => {
let csr_num = fault_inst.rs2.unwrap() as u16;
#(#csr_field_arms)*
unimplemented!("unhandled CSRs: {csr_num:#x}");
}
_ => unreachable!(),
}
Expand Down
Loading
Loading