Remove micromath dependency, improve primitive drawing speed by 300x,

add mouse support and interrupts on x86_64 using a ps2 mouse which
needed pic unmasking, add span filling to framebuffer, add back
without_interrupts to serial console and framebuffer, add a mouse
rectangle which tracks the mouse position and test the performance of
the drawing.
This commit is contained in:
csd4ni3l
2026-03-29 14:38:43 +02:00
parent aa5cd85b48
commit 3ef95940a7
13 changed files with 494 additions and 56 deletions

7
kernel/Cargo.lock generated
View File

@@ -9,7 +9,6 @@ dependencies = [
"font8x8",
"lazy_static",
"limine",
"micromath",
"pc-keyboard",
"pic8259",
"spin 0.10.0",
@@ -67,12 +66,6 @@ dependencies = [
"scopeguard",
]
[[package]]
name = "micromath"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3c8dda44ff03a2f238717214da50f65d5a53b45cd213a7370424ffdb6fae815"
[[package]]
name = "pc-keyboard"
version = "0.8.0"