x86_interrupts

Crates.iox86_interrupts
lib.rsx86_interrupts
version1.0.1-rc.1
sourcesrc
created_at2021-08-03 17:22:55.42129
updated_at2021-08-03 17:54:07.371059
descriptionA Simple x86 Interrupt Library
homepage
repository
max_upload_size
id431035
size7,218
(NPEX42)

documentation

README

x86 UART Serial Logger


Examples

use x86_interrupts as interrupts;

pub fn main() {
    interrupts::initialize().expect("Failed To Init Interrupts");
    interrupts::set_irq_handler(1, on_keypress); // IRQ #1: PS2 Keyboard.
}

pub fn on_keypress() {
    println!("Key Pressed!");
}
Commit count: 0

cargo fmt