DragonOS-Community / DragonOS

使用Rust从0自研内核,具有Linux兼容性的操作系统,面向云计算轻量化场景而设计。DragonOS is an operating system developed from scratch using Rust, with Linux compatibility. It is designed for lightweight cloud computing scenarios.
https://dragonos.org
GNU General Public License v2.0
817 stars 132 forks source link

feat(irq): 【任务发布】 中断子系统:支持动态申请虚拟中断号 #800

Open fslongjin opened 1 month ago

fslongjin commented 1 month ago

现状

目前dragonos的中断子系统实现了动态注册中断的功能,但是对于中断域的管理还有很多没实现的。然后,虚拟中断号目前是由驱动手动指定的。但是因为为了避免冲突,以及当机器上具有多个中断域(比如riscv的clint和plic)的时候,手动指定虚拟中断号会造成冲突。因此需要动态分配。

需求

实现虚拟中断号的动态分配。

清单