add keyboard interrupt

This commit is contained in:
mii443
2025-04-13 16:26:27 +09:00
parent 89e8047bb1
commit 01509a77d7
3 changed files with 43 additions and 0 deletions

7
Cargo.lock generated
View File

@ -41,6 +41,7 @@ version = "0.1.0"
dependencies = [
"bootloader",
"lazy_static",
"pc-keyboard",
"pic8259",
"spin 0.5.2",
"uart_16550",
@ -48,6 +49,12 @@ dependencies = [
"x86_64 0.14.13",
]
[[package]]
name = "pc-keyboard"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f0ca629cbb3f0d5b699c338f0129ff78c9bfd7ea8b1258ad529bff490dc8ed5a"
[[package]]
name = "pic8259"
version = "0.11.0"