kernel
0.1.0
Module cpu
Re-exports
Modules
Structs
Constants
Statics
Traits
Functions
In crate kernel
?
Module
kernel
::
cpu
source
·
[
−
]
Re-exports
pub use
rip
;
pub use
rbp
;
pub use
rsp
;
Modules
cpuid
flags
gdt
idt
interrupts
msr
Structs
Cpu
Constants
MAX_CPUS
🔒
Statics
CPUS
🔒
Traits
IoPortInt
Functions
clear_interrupts
⚠
cpu
get_cr0
⚠
get_cr3
⚠
get_cr4
⚠
get_cs
🔒
halt
⚠
inb
🔒
⚠
ind
🔒
⚠
invalidate_tlp
⚠
inw
🔒
⚠
io_in
⚠
io_out
⚠
lgdt
🔒
⚠
SAFETY: the data pointed to by
gdtr
must be static and never change
lidt
🔒
⚠
SAFETY: the data pointed to by
ldtr
must be static and never change
ltr
🔒
⚠
outb
🔒
⚠
outd
🔒
⚠
outw
🔒
⚠
read_tsc
⚠
rflags
⚠
set_cr0
⚠
set_cr3
⚠
set_cr4
⚠
set_cs
🔒
⚠
set_data_segments
🔒
⚠
set_interrupts
⚠