Crate x86_64 [] [src]

Reexports

pub use address::VirtualAddress;
pub use address::PhysicalAddress;

Modules

address
control_regs

Functions to read and write control registers. See AMD64 Vol. 2 Section 3.1.1

cpuid
dtables

Functions and data-structures to load descriptor tables.

flags

Processor state stored in the FLAGS, EFLAGS, or RFLAGS register.

gdt
io

I/O port functionality.

irq

Interrupt description and set-up code.

msr

MSR value list and function to read and write them.

paging

Description of the data-structures for IA-32e paging mode.

segmentation
sgx

Program x86 enclaves.

syscall

Invokes an OS system-call handler at privilege level 0.

task

Helpers to program the task state segment. See Intel 3a, Chapter 7, Section 7

time

Functions to read time stamp counters on x86.

tlb

Functions to flush the translation lookaside buffer (TLB).

Macros

int

Generate a software interrupt. This is a macro because the argument needs to be an immediate.

syscall

It does so by loading RIP from the IA32_LSTAR MSR (after saving the address of the instruction following SYSCALL into RCX).

Enums

PrivilegeLevel

Functions

halt