Module x86_64

Module x86_64 

Source

Modules§

ExternSyms
arch_regs
both Context64 and TrapFrame define architecture specific registers and combine into the full execution context of a thread. Context64 includes the callee saved registers plus FP state, and TrapFrame includes caller saved registers.
gdt
the x86 gdt struct is so obscure and it’s not worth the lines of code to write proper high level representaion. Also since it only needs to be written to once or twice, I’ll live with the hard coded stuffs in this mod. You need to suffer all this pain exists because intel/amd doens’t want to ditch segmentation due to backward compatibility. THIS REALLY SUCKS.
interrupt
io_port
misc
wrappers for misc. architectural code before they find better place to go. asm code goes to asm/misc.s
paging

Constants§

RFLAGS_IF_MASK

Functions§

is_int_enabled
read_rflags