pub fn assign_io_irq_custom<H: InterruptHandler, F>(
    handler: H,
    interrupt_num: u8,
    cpu: &Cpu,
    modify_entry: F
)