pub unsafe fn register_handler(
    vector: usize,
    _handler: Box<dyn Fn(&ExceptionArguments) -> () + Send + 'static>,
) {
    if vector > IDT_SIZE - 1 {
        debug!("Invalid vector!");
        return;
    }

    info!("register irq handler for vector {}", vector);
    //let mut handlers = IRQ_HANDLERS.lock();
    //handlers[vector] = handler;
}
/// Registers a handler IRQ handler function.
Registers a handler IRQ handler function.
Registers a handler IRQ handler function .
pub unsafe fn register_handler(
    vector: usize,
    _handler: Box<dyn Fn(&ExceptionArguments) -> () + Send + 'static>,
) {
    if vector > IDT_SIZE - 1 {
        debug!("Invalid vector!");
        return;
    }
    info!("register irq handler for vector {}", vector);
    //let mut handlers = IRQ_HANDLERS.lock();
    //handlers[vector] = handler;
}
pub unsafe fn register_handler ( vector : usize , _handler : Box < dyn Fn ( & ExceptionArguments ) -> ( ) + Send + ' static > , ) { if vector > IDT_SIZE - 1 { debug ! ( " " ) ; return ; } info ! ( " " vector ) ; //let mut handlers = IRQ_HANDLERS.lock(); //handlers[vector] = handler; }
Registers a handler IRQ handler function.
Registers a handler IRQ handler function .
vector
usize
_handler
Box<dyn Fn(&ExceptionArguments) -> () + Send + 'static>
vector
usize
_handler
Box<dyn Fn(&ExceptionArguments) -> () + Send + 'static>