pub struct KeyboardDriver {}
Expand description
we have a global controller, but we can’t use it as the “driver” because drivers should be stateless.
Trait Implementations§
Source§impl IRQHandlerEpilogue for KeyboardDriver
impl IRQHandlerEpilogue for KeyboardDriver
Source§unsafe fn do_prologue()
unsafe fn do_prologue()
same as in IRQHandler
Source§unsafe fn do_epilogue()
unsafe fn do_epilogue()
the “softirq” part of the irq handler, it allows interrupts but all
epilogues must be linearized, therefore an context swap must not
happen when there is a running epilogue.