mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 18:33:23 +00:00
feat: 添加serial console,支持non-graphic启动 (#947)
Signed-off-by: longjin <longjin@dragonos.org>
This commit is contained in:
@ -403,7 +403,7 @@ pub fn ioapic_init(ignore: &'static [IrqNumber]) {
|
||||
}
|
||||
|
||||
// 绑定irqchip
|
||||
for i in 32..256 {
|
||||
for i in IoApic::VECTOR_BASE as u32..256 {
|
||||
let irq = IrqNumber::new(i);
|
||||
|
||||
if ignore.contains(&irq) {
|
||||
|
@ -58,7 +58,6 @@ macro_rules! interrupt_handler {
|
||||
push rax
|
||||
mov rsi, {irqnum}
|
||||
jmp x86_64_do_irq
|
||||
// jmp do_IRQ
|
||||
"
|
||||
),
|
||||
irqnum = const($name),
|
||||
|
Reference in New Issue
Block a user