3 ms·
Yes, really interested in how interrupts can be modelled with Rust. Preferably a safe abstraction without going full RTOS?
by jononor 10y ago
Yes, really interested in how interrupts can be modelled with Rust. Preferably a safe abstraction without going full RTOS?
- steveklabnik 10y agoMy toy OS project has a partial implementation of interrupts for x86_64: https://github.com/intermezzOS/kernel/blob/master/interrupts/src/lib.rs https://github.com/intermezzOS/kernel/blob/master/interrupts... Just enough to get keyboards working, still a lot of stuff to do, but the foundation is there. Used like this: https://github.com/intermezzOS/kernel/blob/master/src/main.rs#L48-L68 https://github.com/intermezzOS/kernel/blob/master/src/main.r...