Rename IrqAllocateHandle and move alloc functions

This commit is contained in:
Yuke Peng
2023-09-03 01:12:45 +08:00
committed by Tate, Hongliang Tian
parent 7d5e67e368
commit dbf5a423b1
12 changed files with 162 additions and 160 deletions

View File

@ -38,8 +38,8 @@ pub use self::cpu::CpuLocal;
pub use self::error::Error;
pub use self::prelude::Result;
use alloc::vec::Vec;
use arch::irq::{IrqCallbackHandle, IrqLine};
use core::{mem, panic::PanicInfo};
use trap::{IrqCallbackHandle, IrqLine};
use trapframe::TrapFrame;
static mut IRQ_CALLBACK_LIST: Vec<IrqCallbackHandle> = Vec::new();