完成中断管理模块重构 (#554)

- 支持中断共享
- 把现有驱动程序移植到新的irq模块
- 使用`ProcessorId`标识处理器id
- 尚未实现threaded_irq

性能上,edge irq flow handler里面,对于锁的使用,可能有点问题。为了获取/修改common data还有其他几个结构体的状态,进行了多次加锁和放锁,导致性能降低。这是接下来需要优化的点。
This commit is contained in:
LoGin
2024-03-03 16:31:08 +08:00
committed by GitHub
parent 44d051e586
commit e28411791f
108 changed files with 4504 additions and 2203 deletions

View File

@ -10,14 +10,12 @@
"glib.h": "c",
"asm.h": "c",
"memory.h": "c",
"irq.h": "c",
"multiboot2.h": "c",
"kprint.h": "c",
"8259a.h": "c",
"ptrace.h": "c",
"mouse.h": "c",
"keyboard.h": "c",
"apic.h": "c",
"ps2_keyboard.h": "c",
"algorithm": "c",
"array": "c",
@ -27,7 +25,6 @@
"cassert": "c",
"cctype": "c",
"cerrno": "c",
"cfloat": "c",
"chrono": "c",
"climits": "c",
"clocale": "c",
@ -83,7 +80,6 @@
"cinttypes": "c",
"cstdbool": "c",
"typeinfo": "c",
"x86_64_ipi.h": "c",
"unistd.h": "c",
"syscall_num.h": "c",
"stdint.h": "c",
@ -92,7 +88,6 @@
"types.h": "c",
"string.h": "c",
"math.h": "c",
"ipi.h": "c",
"arch.h": "c",
"stdio.h": "c",
"wait_queue.h": "c",
@ -109,10 +104,8 @@
"ia64_msi.h": "c",
"errno.h": "c",
"bug.h": "c",
"apic_timer.h": "c",
"sched.h": "c",
"preempt.h": "c",
"softirq.h": "c",
"screen_manager.h": "c",
"textui.h": "c",
"atomic.h": "c",
@ -120,7 +113,6 @@
"fat_ent.h": "c",
"semaphore.h": "c",
"mm-types.h": "c",
"vfs.h": "c",
"current.h": "c",
"traceback.h": "c",
"bitcount.h": "c",