Skip to main content

Module x86_crate_shim

Module x86_crate_shim 

Source
Expand description

Unified access to the x86_64 crate surface used by shared code. On x86_64 this IS the real crate; on riscv64 it is the panicking stub.

Modules§

addr
Physical and virtual addresses manipulation
instructions
Special x86_64 instructions.
registers
Access to various system and model specific registers.
structures
Representations of various x86 specific structures and descriptor tables.

Macros§

set_general_handler
Set a general handler in an InterruptDescriptorTable.

Structs§

PhysAddr
A 64-bit physical memory address.
VirtAddr
A canonical 64-bit virtual memory address.

Enums§

PrivilegeLevel
Represents a protection ring level.

Functions§

align_down
Align address downwards.
align_up
Align address upwards.