Commit 1d5cfc8
committed
feat(axalloc): introduce a global memory allocator with buddy system
- Added `axalloc` crate with a global allocator implementation.
- Implemented `GlobalAllocator` using a buddy system allocator.
- Provided functions for memory initialization, allocation, and deallocation.
- Added `GlobalPage` struct for managing contiguous memory pages.
feat(axvm-types): define address types and device access structures
- Introduced `GuestVirtAddr` and `GuestPhysAddr` types for guest memory addressing.
- Created traits for device address handling and defined `DeviceAddr` and `DeviceAddrRange`.
- Implemented `Port` and `SysRegAddr` types for I/O operations and system registers.
fix(vmm): update VM reference handling
- Changed `push_vm` function to accept `axvm::Vm` directly and return an `Arc<axvm::Vm>`.
- Updated global VM list management to use `Arc` for thread-safe reference counting.
chore: update submodules and dependencies
- Updated submodules for `arm_vcpu`, `axvm`, and `axvmconfig`.
- Added `memory_addr` dependency to `axruntime` and `axvm-types`.
- Updated `Cargo.toml` files to reflect new dependencies and features.1 parent f7a3a57 commit 1d5cfc8
File tree
37 files changed
+1330
-2292
lines changed- .cargo
- kernel
- src
- hal
- arch
- aarch64
- x86_64
- vmm
- images
- modules
- axalloc
- src
- axruntime
- src
- axvm-types
- src
- device
- platform
- x86-qemu-q35/src
- xtask
37 files changed
+1330
-2292
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 42 | | |
46 | 43 | | |
47 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments