Skip to content

Merge arceos-hypervisor/axvisor#377 - #25

Merged
ZR233 merged 164 commits into
mainfrom
tgoskits-axvisor-377
Mar 21, 2026
Merged

Merge arceos-hypervisor/axvisor#377#25
ZR233 merged 164 commits into
mainfrom
tgoskits-axvisor-377

Conversation

@aarkegz

@aarkegz aarkegz commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

elliott10 and others added 30 commits September 4, 2024 18:10
add Flush Data cache function
update readme about crate_interface::impl_interface
* [wip] on lapic timer

* [wip] in in handle_write

* [wip] in write_icr

* [wip] finish partial icr_write

* [wip] calculate_dest

* make timer somewhat and somehow work

* migrate to `api` branch of `axaddrspace` and `axdevice_base`

* remove generic parameters completely

* update dependency version

* use main-branch (merged) `axdevice_base` and `axvisor_api`

* formatted

* allow `clippy::mut_from_ref` on `get_mut_vlapic_regs`

* replace `u32` operations with `LvtTimerRegisterLocal` in timer

* import `arceos_api::<mod>` to reduce code length

* update parameters type

* formatted

---------

Co-authored-by: hky1999 <976929993@qq.com>
* chore: fix formatting and linting, add README.md and test cases

* feat: improve project configuration and documentation

- Add unit_test CI job with doc quality checks
- Refactor README: highlight timer-only support status
- Add open source license
- Add Cargo.toml metadata
@aarkegz
aarkegz marked this pull request as ready for review March 21, 2026 04:08
@aarkegz
aarkegz requested review from ZCShou, ZR233 and chyyuu March 21, 2026 04:08
@aarkegz aarkegz self-assigned this Mar 21, 2026
@ZR233
ZR233 merged commit bc27b22 into main Mar 21, 2026
18 checks passed
@AsakuraMizu
AsakuraMizu deleted the tgoskits-axvisor-377 branch April 5, 2026 07:15
hongdy22 pushed a commit to hongdy22/tgoskits that referenced this pull request May 11, 2026
* Refactor driver interface by removing open/close methods and adding name method

- Updated the `DriverGeneric` trait to remove `open` and `close` methods, replacing them with a `name` method that returns the driver's name.
- Modified the `def_driver!` macro to reflect the changes in the `DriverGeneric` trait.
- Adjusted implementations of `DriverGeneric` in `PcieController`, `Empty`, and other drivers to implement the new `name` method.
- Removed calls to `open` in the PCI probe function as they are no longer part of the driver interface.
- Updated dependencies in `Cargo.toml` for `rdif-intc` and `arm-gic-driver` to use workspace features.

* ✨ feat: 添加 ARM GIC 驱动文档和示例代码

* fmt

* ✨ feat: 重构设备驱动接口,移除 open/close 方法,添加 name 方法

* ✨ feat: 更新 Cargo.toml,修改 repository 字段为 workspace

* ✨ feat: 添加 phytiumpi smp 测试配置到工作流

* ✨ feat: 优化 CPU 启动逻辑,调整 CPU ID 循环范围并修复导入路径

* ✨ feat: 格式化代码,调整导入语句的排版

* feat(driver): add ramdisk block device implementation

- Introduced a new `ramdisk` block device in the `driver/block` directory.
- Implemented `RamDisk` struct with basic read/write functionality using an in-memory vector.
- Created a `CmdQueue` for handling block operations asynchronously.
- Added DMA support through `dma-api` for efficient memory management.
- Updated `Cargo.toml` files to include new dependencies and workspace members.

feat(driver): enhance block driver interface

- Added `DArrayPool` for managing DMA buffers in the `dma-api`.
- Implemented new methods for allocating and deallocating buffers in `DmaHandle`.
- Updated `rdif-block` interface to support new buffer management features.

fix(driver/interface): clean up rdif-block dependencies

- Removed unnecessary dependencies and examples from `rdif-block`.
- Updated `rdif-serial` interface to streamline driver generic implementations.

chore: update workspace configuration

- Added new driver modules to the workspace in `Cargo.toml`.
- Ensured all new modules are properly referenced and configured for the build system.

* ✨ feat: 更新 Cargo.toml,添加 publish 字段并设置为 false

* ✨ feat: 优化 DBuff 的 drop 实现,简化条件判断逻辑;修正 Reciever 的 inner 方法返回方式

* ✨ feat(paging): 更新 enable_mmu 函数以使用 CPU 元数据的栈顶虚拟地址;修正 PTE 的共享属性为外部
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants