Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
185 commits
Select commit Hold shift + click to select a range
e9421ba
Merge pull request #39 from KouweiLee/dev
Inquisitor-201 May 24, 2024
aa143a1
support RISC-V (#40)
likey99 Jun 12, 2024
e265492
create arch/loongarch64 and update makefile
enkerewpo Jun 18, 2024
9425cbf
Support hvisor-tool in riscv (#46)
KouweiLee Jun 19, 2024
2809a65
able to compile loongarch64 hvisor binary
enkerewpo Jun 25, 2024
2e6adb0
add ns16550a uart code and ls7a2000 chip regs code
enkerewpo Jun 26, 2024
e98a944
debugging uart
enkerewpo Jul 2, 2024
b8500d0
add 3a5000 dts, can boot hvisor now, need to init hv s1-pagetable
enkerewpo Jul 2, 2024
4f27d36
update rust nightly version, add code in cpu, mm, trap, zone in loong…
enkerewpo Jul 2, 2024
aa29365
update trap handler aux functions
enkerewpo Jul 3, 2024
e15a277
Merge branch 'dev-loongarch' into dev
enkerewpo Jul 4, 2024
d018a3c
Merge pull request #55 from enkerewpo/dev
enkerewpo Jul 4, 2024
f770c36
tested loongarch exception handler
enkerewpo Jul 8, 2024
3bba70e
add s1pt enable and tlb refill handler for loongarch MMU
enkerewpo Jul 8, 2024
527f27c
mend
enkerewpo Jul 9, 2024
08c69bf
add s2 pt page mapping code
enkerewpo Jul 9, 2024
bcd3137
update entry asm and enabled log on board
enkerewpo Jul 10, 2024
5807fa6
add cpu.run for loongarch
enkerewpo Jul 10, 2024
9ac7a0c
fix: change data type to prevent potential hvisor-daemon startup failure
ZhongkaiXu Jul 13, 2024
a4ef3a2
smpboot ok on board but all lock failed
enkerewpo Jul 15, 2024
5bf45f5
fixed smp bug
enkerewpo Jul 16, 2024
c3095f5
finished loongarch guest mode enable procedure
enkerewpo Jul 16, 2024
130a4fb
update zone s2 pt logic
enkerewpo Jul 16, 2024
709c05f
ok to boot zone0 linux, but irq virt should be implemented next
enkerewpo Jul 16, 2024
ed2b3e6
ok to boot zone0 linux and enter user space, but no shell output
enkerewpo Jul 17, 2024
212bd6c
Merge pull request #61 from ZhongkaiXu/dev
KouweiLee Jul 20, 2024
d3139ad
Adapt riscv arch to hvisor-tool config
liulog Jul 23, 2024
97a9817
unify power_on & psci_on
liulog Jul 23, 2024
e81cc73
successfully boot the zone0 linux's shell and ok to use
enkerewpo Jul 23, 2024
9288f6a
Merge pull request #62 from liulog/dev
KouweiLee Jul 23, 2024
8de53e2
add hvisor zone list hypercall
Inquisitor-201 Jul 23, 2024
c70cd96
Merge pull request #64 from Inquisitor-201/dev-nxp
KouweiLee Jul 24, 2024
754838b
add guest timer context save and restore
enkerewpo Jul 30, 2024
338304e
add HVC support on loongarch64
enkerewpo Jul 30, 2024
889a27e
Merge pull request #65 from enkerewpo/dev-loongarch
enkerewpo Jul 31, 2024
d48e0ae
Merge remote-tracking branch 'origin/dev' into dev-loongarch
enkerewpo Jul 31, 2024
b283605
merge platform_root_zone_config in platform mod.rs
enkerewpo Jul 31, 2024
df5c369
adapt new zone config pt_init for loongarch64
enkerewpo Aug 6, 2024
6a35bcc
Merge branch 'dev' into dev-nxp
KouweiLee Aug 7, 2024
40ffb31
Merge pull request #67 from syswonder/dev-nxp
Inquisitor-201 Aug 10, 2024
5d9bb8d
Merge remote-tracking branch 'origin/dev' into dev-loongarch
enkerewpo Aug 10, 2024
6b1543c
add ROOT_ZONE_NAME support on loongarch64
enkerewpo Aug 10, 2024
5ad088a
Merge pull request #66 from syswonder/dev-loongarch
KouweiLee Aug 10, 2024
b13de89
riscv support hvisor zone list
liulog Aug 11, 2024
c423f4d
Merge pull request #68 from liulog/dev
KouweiLee Aug 12, 2024
781ebbf
support smc sip call
KouweiLee Aug 17, 2024
7401fcd
merge riscv
KouweiLee Aug 17, 2024
1eddee1
test booting the simple non-root os on board
enkerewpo Aug 19, 2024
3f0026e
finished booted simple nonroont on board
enkerewpo Aug 19, 2024
d83315e
fixed loongarch nonroot boot issues, now ok to boot nonroot linux
enkerewpo Aug 26, 2024
5669392
Resolve the overflow of list registers by using a maintenance interrupt
KouweiLee Sep 4, 2024
6aafcf8
Merge pull request #71 from KouweiLee/dev
Inquisitor-201 Sep 18, 2024
c7f5b89
fix qemu bug: cpu a53->a57
KouweiLee Sep 22, 2024
cbd8d13
Merge pull request #72 from KouweiLee/dev
Inquisitor-201 Sep 22, 2024
0341b60
trying to run virtio on loongarch nonroot
enkerewpo Sep 24, 2024
304e710
fixed bug for ipi
enkerewpo Sep 25, 2024
939d356
Initial communication between zones (#73)
KouweiLee Oct 3, 2024
89f1f10
ok to mount nonroot virio driver and send data
enkerewpo Oct 8, 2024
3f32e4b
1.The hvisor page table has been extended to a 40-bit address
dallasxy Oct 10, 2024
c28ed86
Merge pull request #74 from dallasxy/dev_pcie
Inquisitor-201 Oct 10, 2024
4fd25d5
update config, and add pci, arm-its, arm-iommu (#75)
ZhongkaiXu Oct 12, 2024
dc0271d
support multi sections (#73)
KouweiLee Oct 13, 2024
5423946
debugging nonroot virtio-console
enkerewpo Oct 15, 2024
9118a9e
add ivc info hypercall
KouweiLee Oct 16, 2024
b71045b
add hvc support for loongarch64 lvz irq inject clearing
enkerewpo Oct 19, 2024
7117432
ivc finished v0.1 (#73)
KouweiLee Oct 19, 2024
737553f
Support PCIe resource allocation for three virtual machines under ARM…
ZhongkaiXu Oct 30, 2024
6068795
ivc finished v0.2 (#73)
KouweiLee Nov 5, 2024
33960b4
Merge branch 'dev' into dev
KouweiLee Nov 7, 2024
d19b7dc
adapt ivc
KouweiLee Nov 11, 2024
437ffad
Merge pull request #80 from KouweiLee/dev
ZhongkaiXu Nov 11, 2024
2a229cb
change to new board but cannot boot nonroot now
enkerewpo Nov 11, 2024
8ff3b92
nonroot booted on new board, but virtio need debug
enkerewpo Nov 14, 2024
9311f98
support virtio console on nonroot
enkerewpo Nov 20, 2024
b8ab705
virtio input halt randomly, need debug
enkerewpo Nov 20, 2024
6c4babf
support using bash on hvc0 for nonroot
enkerewpo Nov 25, 2024
df6e6c2
update ivc dts and configure of linux
HeartLinked Dec 6, 2024
f387af8
ready to pull request for nonroot feature
enkerewpo Dec 7, 2024
1cff7ec
Merge pull request #83 from HeartLinked/dev
KouweiLee Dec 7, 2024
f885de3
code cleanup
enkerewpo Dec 7, 2024
312abed
Merge pull request #86 from enkerewpo/dev
KouweiLee Dec 7, 2024
e795ead
xlnx-zcu102: add xuartps driver for hvisor
enkerewpo Dec 7, 2024
ca9b559
fix(images): edit zone config to resolve boot bug in zone1,2
CHonghaohao Dec 10, 2024
f95942f
disable xuartps init for now
enkerewpo Dec 10, 2024
e8df0ad
support FIT image packing and qemu boot using FIT
enkerewpo Dec 10, 2024
14a6ede
update fit source and platform config for root zone
enkerewpo Dec 10, 2024
ca019b7
add commands for uboot to load root vmlinux.bin into memory
enkerewpo Dec 11, 2024
7c0bbc5
ok to see zone 0 xlnx-linux earlycon, but need gicv2 support
enkerewpo Dec 11, 2024
57aa23e
add default zcu102 xlnx-linux dts
enkerewpo Dec 12, 2024
11914f8
update zcu102_aarch64.rs to match dts memory range
enkerewpo Dec 12, 2024
726900e
enable CPU0 only for xlnx-linux for debugging
enkerewpo Dec 12, 2024
fece521
add init config for baremetal unittest
enkerewpo Dec 17, 2024
c18bc0b
finish test framework and add github action
enkerewpo Dec 17, 2024
c885500
enable manual trigger for CI workflow
enkerewpo Dec 17, 2024
bfe49a6
update rust toolchain to nightly-2024-10-01
enkerewpo Dec 17, 2024
e80ab78
update rust toolchain version and comment out core_panic feature
enkerewpo Dec 17, 2024
031eac7
update rust toolchain to nightly-2024-10-01
enkerewpo Dec 17, 2024
81698d8
add unit tests for configuration and event handling, improve test out…
enkerewpo Dec 19, 2024
1a6f1c3
update documentation for HvUnitTest trait and add HvUnitTestResult enum
enkerewpo Dec 19, 2024
e511b2a
update cargo test script to support uboot, but still need uboot to au…
enkerewpo Dec 26, 2024
311dfbb
now ok to auto run hvisor in uboot
enkerewpo Dec 26, 2024
b1e7969
update cargo config to use relative path for runner script
enkerewpo Dec 26, 2024
3c99533
make: add execute permission to _cargo_test.sh in test-pre target
enkerewpo Dec 26, 2024
236cfc7
fix: correct shell script formatting and add shebang
enkerewpo Dec 27, 2024
c370a4f
Merge branch 'syswonder:dev-unittest' into dev-unittest
enkerewpo Dec 27, 2024
c308d3d
feat: update flash image handling with extraction and compression scr…
enkerewpo Dec 27, 2024
7da45a1
fix: update info function to use echo without -e for better compatibi…
enkerewpo Dec 27, 2024
18c7467
fix: correct variable name in info message for hvisor build
enkerewpo Dec 27, 2024
032230c
Run linux with smp successfully.
ForeverYolo Dec 5, 2024
38a34fc
GICV2 module code optimization.
ForeverYolo Dec 5, 2024
1494f59
Compatible with gic versions 2 and 3
ForeverYolo Dec 6, 2024
9bcf4bb
config zcu102 uart.
ForeverYolo Dec 10, 2024
b7c5fce
Change MMU layout.
ForeverYolo Jan 1, 2025
e037ccf
Add SMC Call to support ZCU102 Firmware.
ForeverYolo Jan 1, 2025
fd7e091
Adjust gicc base address.
ForeverYolo Jan 1, 2025
826bbba
Adjust ivc.rs code to support gicv2 and gicv3.
ForeverYolo Jan 1, 2025
fecf191
Fix rebase bug.
ForeverYolo Jan 1, 2025
65d6b16
fix. sync FIT its's root linux dtb load addr with platform definition
enkerewpo Jan 1, 2025
5eb9c76
Optimized the makefile compilation logic and added file information t…
ForeverYolo Jan 2, 2025
ba64353
refactor: reorganize script files and update paths for better structure
enkerewpo Jan 2, 2025
f0d9338
Update ci.yml
enkerewpo Jan 2, 2025
6ae2e17
Merge pull request #94 from oscommunity/dev-unittest
enkerewpo Jan 2, 2025
2186d4d
The issue that the root interrupt is invalid when starting nonroot is…
ForeverYolo Jan 8, 2025
d965edd
Add a maintenance mechanism for gicv2 to handle LR overflows.
ForeverYolo Jan 8, 2025
b27a73d
Config zcu102 to run nonroot, Done.
ForeverYolo Jan 8, 2025
a06e333
support linux-6.2
ZhongkaiXu Jan 9, 2025
505e77b
format files
ZhongkaiXu Jan 9, 2025
0ea8dbe
format pci-related files
ZhongkaiXu Jan 9, 2025
f3b2077
Merge pull request #95 from ZhongkaiXu/dev
Inquisitor-201 Jan 9, 2025
9b2fd9b
Update frame allocation algorithm to accelerate stream table construc…
ZhongkaiXu Jan 15, 2025
ccbf30f
Merge branch 'dev' of https://github.com/ZhongkaiXu/hvisor into dev
ZhongkaiXu Jan 15, 2025
de34d41
Merge remote-tracking branch 'origin/dev' into dev-loongarch
enkerewpo Jan 15, 2025
5a88adf
add ivc cfg compilation control
enkerewpo Jan 15, 2025
2d48ca5
update rust toolchain version and enhance disassembly command in Make…
enkerewpo Jan 15, 2025
3fe1e9f
Add ZCU102 nonroot dts.
ForeverYolo Jan 15, 2025
d77982d
Merge pull request #97 from syswonder/dev-loongarch
Inquisitor-201 Feb 7, 2025
67cb78d
Merge pull request #98 from ZhongkaiXu/dev
Inquisitor-201 Feb 7, 2025
c838fa8
Merge pull request #87 from CHonghaohao/dev
Inquisitor-201 Feb 7, 2025
99654f8
Merge branch 'dev' into dev-xlnx-zcu102
Inquisitor-201 Feb 7, 2025
9a62f9c
Merge pull request #91 from syswonder/dev-xlnx-zcu102
Inquisitor-201 Feb 7, 2025
4da2129
loongarch64: enhance event handling and add global IRQ injection stat…
enkerewpo Feb 7, 2025
289397c
Merge remote-tracking branch 'origin/dev' into dev-loongarch
enkerewpo Feb 7, 2025
849307c
loongarch64: remove unused mmio_init function from Zone implementation
enkerewpo Feb 7, 2025
d917a42
loongarch64: remove conditional compilation for HvClearInjectIrq in h…
enkerewpo Feb 7, 2025
28b0d53
unittest: update Makefile and remove legacy config test
enkerewpo Feb 7, 2025
acd3353
loongarch64: update logging for CPU events and refine event handling …
enkerewpo Feb 11, 2025
7cda654
loongarch64: refine interrupt handling and logging in event processing
enkerewpo Feb 11, 2025
6a10853
aarch64: fix root linux not booting
enkerewpo Feb 11, 2025
0641552
Update README.md to clarify FPGA RocketChip support and correct roadm…
enkerewpo Feb 13, 2025
a78663a
Update README files to correct virtio device support listings for aar…
enkerewpo Feb 15, 2025
83668cd
Update README files for improved clarity and consistency in feature d…
enkerewpo Feb 16, 2025
6511128
Merge pull request #101 from oscommunity/dev
KouweiLee Feb 17, 2025
6f43e94
[Code refactoring] Rebuild the hypervisor page table
dallasxy Feb 17, 2025
d2ef041
Merge pull request #102 from dallasxy/dev
KouweiLee Feb 17, 2025
9836b9b
Update README.md
enkerewpo Feb 18, 2025
2d1ca86
Update README.md
enkerewpo Feb 18, 2025
cc7acdc
Merge branch 'syswonder:dev' into dev
enkerewpo Feb 19, 2025
1720c8e
[Documentation] Revise README files for clarity and consistency in de…
enkerewpo Feb 20, 2025
bd8bc29
[Documentation] Update Chinese README for clarity and accuracy
enkerewpo Feb 20, 2025
8a78cdc
update makefile and gitignore
KouweiLee Feb 21, 2025
86b467f
Merge pull request #103 from KouweiLee/dev
Inquisitor-201 Feb 21, 2025
32397f0
Merge branch 'dev' into dev-loongarch
enkerewpo Feb 21, 2025
934c6de
[Documentation] Update hardware support list in README.md
enkerewpo Feb 24, 2025
d818ad3
Merge branch 'syswonder:dev' into dev
enkerewpo Feb 24, 2025
d45663a
Merge pull request #104 from oscommunity/dev
KouweiLee Feb 24, 2025
d68c1a1
Merge pull request #99 from syswonder/dev-loongarch
KouweiLee Feb 24, 2025
ef3943b
[Changelog] Add initial changelog file with release history
enkerewpo Feb 25, 2025
d6d50a5
[Changelog] Fix formatting for Loongson 3A5000+7A2000 support entry
enkerewpo Feb 25, 2025
58f8365
[Changelog] Update PCIe support entry to include additional contribut…
enkerewpo Feb 25, 2025
7e4cd1d
Enhance CI workflow with linting and clippy checks
enkerewpo Feb 25, 2025
8d3ca40
Update CI workflow to change fmt-check to fmt-test
enkerewpo Feb 25, 2025
b4dc67f
[Changelog] Remove outdated hvisor version entries and update changel…
enkerewpo Feb 25, 2025
35dd25f
Update CI workflow to include main branch and comment out unused steps
enkerewpo Feb 27, 2025
637e5be
Update changelog and README for clarity and consistency
enkerewpo Feb 27, 2025
a36f3d0
fix issue: #109 (#110)
KouweiLee Feb 28, 2025
9520f4c
Merge branch 'syswonder:dev' into dev
enkerewpo Feb 28, 2025
2652036
Update CHANGELOG.md
enkerewpo Feb 28, 2025
10fc1b2
Update CHANGELOG.md
enkerewpo Feb 28, 2025
9f59525
add aia=aplic-imsic (#78)
SanchezDorso Feb 28, 2025
b29b116
Merge branch 'syswonder:dev' into dev
enkerewpo Feb 28, 2025
df7fbc2
update CI to support matrix testing
enkerewpo Feb 28, 2025
230a432
fix: unify string comparison operator in cargo_test.sh
enkerewpo Feb 28, 2025
e8738e7
fix: force to use bash syntax
enkerewpo Feb 28, 2025
6771055
update changelog for hvisor v0.1.0 release
enkerewpo Feb 28, 2025
7dc446d
Merge pull request #107 from oscommunity/dev
enkerewpo Feb 28, 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
8 changes: 8 additions & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@ rustflags = [
]

[target.aarch64-unknown-none]
runner = "___HVISOR_SRC___/tools/cargo_test.sh"
rustflags = [
"-Clink-arg=-Tscripts/qemu-aarch64.ld",
"-Ctarget-feature=+a53,+v8a,+strict-align,-neon,-fp-armv8",
"-Cforce-frame-pointers=yes",
]

[target.loongarch64-unknown-none]
linker = "loongarch64-unknown-linux-gnu-gcc"
rustflags = [
"-Clink-arg=-Tscripts/3a5000-loongarch64.ld",
"-Cforce-frame-pointers=yes",
]
77 changes: 77 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# wheatfox <[email protected]>
# hvisor Github Actions CI
# version: 2025.2.28
name: CI
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
workflow_dispatch:
env:
MODE: debug
BOARD: qemu # we can only run auto tests in emulator...
jobs:
fmt:
name: linter
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: linter
run: make fmt-test
test:
name: test
runs-on: ubuntu-latest
strategy:
fail-fast: false # continue to run all jobs even if some fail
matrix:
include:
# aarch64
- arch: aarch64
rustc_target: aarch64-unknown-none
features: "platform_qemu,gicv3"
- arch: aarch64
rustc_target: aarch64-unknown-none
features: "platform_qemu,gicv2"

# riscv64 will be supported in the future but not now,
# let's first focus on unittest and system test(root linux) in aarch64 qemu...

# - arch: riscv64
# rustc_target: riscv64gc-unknown-none-elf
# features: "platform_qemu,plic"
# - arch: riscv64
# rustc_target: riscv64gc-unknown-none-elf
# features: "platform_qemu,aia"

steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.rustc_target }}
components: rust-src
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y qemu-system-aarch64 qemu-system-riscv64 gdb-multiarch llvm-dev libclang-dev wget
cargo install --version 0.3.0 cargo-binutils
cargo install cargo-xbuild
- name: Set up environment variables
run: |
echo "ARCH=${{ matrix.arch }}" >> $GITHUB_ENV
echo "FEATURES=${{ matrix.features }}" >> $GITHUB_ENV
- name: build
run: make
- name: unittest
run: make test
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
/images/aarch64/virtdisk/*
/images/aarch64/kernel/*
/images/aarch64/devicetree/*.dtb
/images/riscv64/virtdisk/*
/images/riscv64/kernel/*
/images/riscv64/devicetree/*.dtb
/tools/hvisor
/tmp
*.mod.[co]
*.mod
*.[oa]
Expand All @@ -15,3 +19,16 @@ Module.symvers
modules.order
driver/main.ko
.gdb_history
.vscode-ctags
Image*
*.ext4
*.qcow2
*.dtb
.DS_Store
temp-fit.its
fitImage
sd.img
flash.img*
.vscode/settings.json
compile.sh

File renamed without changes.
20 changes: 20 additions & 0 deletions .vscode/settings-example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"rust-analyzer.linkedProjects": [
"./Cargo.toml"
],
// Prevent "can't find crate for `test`" error on no_std
// Ref: https://github.com/rust-lang/vscode-rust/issues/729
// For vscode-rust plugin users:
"rust.target": "aarch64-unknown-none",
// "rust.target": "riscv64gc-unknown-none-elf",
// "rust.target": "loongarch64-unknown-none",
"rust.all_targets": false,
// For Rust Analyzer plugin users:
"rust-analyzer.cargo.target": "aarch64-unknown-none",
// "rust-analyzer.cargo.target": "riscv64gc-unknown-none-elf",
// "rust-analyzer.cargo.target": "loongarch64-unknown-none",
"rust-analyzer.checkOnSave.allTargets": false,
"rust-analyzer.cargo.features": [
"platform_qemu"
]
}
79 changes: 0 additions & 79 deletions .vscode/settings.json

This file was deleted.

28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Changelog

> ⚠️ Please update this file for any changes to the hvisor project along with your name and GitHub profile link under the CURRENT section.

## CURRENT-hvisor v0.1.1

-

## History Release

### hvisor v0.1.0

- [platform] architecture officially supported: riscv64, loongarch64 ([Jingyu Liu](https://github.com/liulog), [wheatfox](https://github.com/enkerewpo))
- [tool] adapting hvisor-tool virtio-gpu, virtio-console ([KouweiLee](https://github.com/KouweiLee), [Roxy](https://github.com/Misaka19986), [wheatfox](https://github.com/enkerewpo))
- [bugfix] refactor aarch64 pagetable code ([dallasxy](https://github.com/dallasxy))
- [platform] Xilinx Ultrascale+ ZCU102 PS processor support ([Ren HangQi](https://github.com/ForeverYolo))
- [platform] Loongson 3A5000+7A2000 support ([wheatfox](https://github.com/enkerewpo), [BoneInscri](https://github.com/BoneInscri))
- [feature] SMMUv3 support ([Zhongkai Xu](https://github.com/ZhongkaiXu))
- [feature] PCIe support ([Zhongkai Xu](https://github.com/ZhongkaiXu), [dallasxy](https://github.com/dallasxy), [Ren HangQi](https://github.com/ForeverYolo))
- [feature] network interface card support ([Ren HangQi](https://github.com/ForeverYolo))
- [feature] riscv64: IOMMU support ([Jingyu Liu](https://github.com/liulog))
- [feature] aarch64: GICv2 support ([Ren HangQi](https://github.com/ForeverYolo))
- [feature] basic inter-vm communication(ivc) support ([KouweiLee](https://github.com/KouweiLee))
- [test] unittest and github ci support ([wheatfox](https://github.com/enkerewpo))
- [tool] hvisor-tool: support virtio-console, virtio-blk, virtio-net ([KouweiLee](https://github.com/KouweiLee))
- [platform] basic support for riscv64 ([likey99](https://github.com/likey99))
- [tool] aarch64: management tool in root zone linux, can create, stop, suspend and destroy working zones ([KouweiLee](https://github.com/KouweiLee))
- [platform] basic support for aarch64 with root and nonroot zone booting ([Nehckl](https://github.com/Inquisitor-201))
40 changes: 40 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 18 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ buddy_system_allocator = "0.8"
tock-registers = "0.8"
lazy_static = { version = "1.4", features = ["spin_no_std"] }
bitmap-allocator = { git = "https://github.com/rcore-os/bitmap-allocator", rev = "03bd9909" }
fdt = { path = "./vendor/fdt" }
qemu-exit = "3.0.2"
cortex-a = "8.1.1"
cfg-if = "1.0"

[target.'cfg(target_arch = "aarch64")'.dependencies]
aarch64-cpu = "9.4.0"
Expand All @@ -25,13 +29,25 @@ sbi-rt = { version = "0.0.2", features = ["legacy"] }
riscv = { git = "https://github.com/rcore-os/riscv", features = ["inline-asm"] }
riscv-decode = "0.2.1"

[target.'cfg(target_arch = "loongarch64")'.dependencies]
loongArch64 = "0.2.4"

[features]
platform_qemu = []
platform_imx8mp = []
platform_zcu102 = []
gicv3 = []
gicv2 = []
plic = []
aia = []

[profile.dev]
panic = "abort"
# panic = "abort" # avoid test compiler erros(still a bug for rust)
debug = 2

[profile.release]
panic = "abort"
# panic = "abort"

[unstable]
build-std-features = ["compiler-builtins-mem"]
build-std = ["core", "compiler_builtins"]
Loading