
This minicommit introduces two newtpyes, `Physical` and `Virtual`, respectively. These serves as a way to segregate the different forms of addresses to avoid the issues we had in the old kernel.
28 lines
394 B
Rust
28 lines
394 B
Rust
//! X86_64 architecture primitives.
|
|
|
|
/// Global descriptor table.
|
|
pub mod gdt;
|
|
|
|
/// Interrupt descriptor table.
|
|
pub mod idt;
|
|
|
|
/// IO handling.
|
|
pub mod io;
|
|
|
|
/// IRQ handling.
|
|
pub mod irq;
|
|
|
|
/// Initialization and main function.
|
|
pub mod main;
|
|
|
|
/// Core memory routines.
|
|
pub mod mem;
|
|
|
|
/// Serial driver and `print!` support.
|
|
pub mod serial;
|
|
|
|
/// Task state segment.
|
|
pub mod tss;
|
|
|
|
pub mod physical;
|