Formatted the code, made the arch code x86_64 only for now, fixed the

serial writer always centering and assuming, added a margin for correct
displaying. Added the IDT and GDT tables, and the TSS so double faults
cant happen. Handled all of these interrupts using functions. Serial
console is now topleft and panic messages are formatted correctly from
there. core PI constant is now used instead of our own.
This commit is contained in:
csd4ni3l
2026-03-23 18:29:33 +01:00
parent 8701b83f57
commit e28b898d79
26 changed files with 364 additions and 92 deletions

View File

@@ -1,13 +1,20 @@
[package]
name = "limine-rust-template"
name = "XunilOS"
version = "0.1.0"
edition = "2024"
[[bin]]
name = "XunilOS"
test = false
bench = false
[dependencies]
font8x8 = { version="0.3.1", default-features = false }
font8x8 = { version = "0.3.1", default-features = false }
lazy_static = { version = "1.5.0", features = ["spin_no_std"] }
limine = "0.5"
micromath = "2.1.0"
spin = "0.10.0"
x86_64 = "0.15.4"
[profile.dev]
panic = "abort"