Module regs

Source

Enumsยง

Error

Constantsยง

BOOT_GDT_OFFSET ๐Ÿ”’
BOOT_IDT_OFFSET ๐Ÿ”’
EFER_LMA ๐Ÿ”’
EFER_LME ๐Ÿ”’
MTRR_ENABLE ๐Ÿ”’
MTRR_MEMTYPE_UC ๐Ÿ”’
MTRR_MEMTYPE_WB ๐Ÿ”’
MTRR_PHYS_BASE_MSR ๐Ÿ”’
MTRR_PHYS_MASK_MSR ๐Ÿ”’
MTRR_VAR_VALID ๐Ÿ”’
VAR_MTRR_NUM_MASK ๐Ÿ”’
X86_CR0_PE ๐Ÿ”’
X86_CR0_PG ๐Ÿ”’
X86_CR4_PAE ๐Ÿ”’

Functionsยง

configure_segments_and_sregs
Configures the GDT, IDT, and segment registers for long mode.
configure_segments_and_sregs_flat32
Configures the GDT, IDT, and segment registers for 32-bit protected mode with paging disabled.
count_variable_mtrrs
Returns the count of variable MTRR entries specified by the list of msrs.
get_max_len ๐Ÿ”’
get_mtrr_pairs ๐Ÿ”’
get_power_of_two ๐Ÿ”’
is_mtrr_msr
Returns true if the given MSR id is a MTRR entry.
set_default_msrs
Returns the default value of MSRs at reset.
set_long_mode_msrs
Configure Model specific registers for long (64-bit) mode.
set_mtrr_msrs
Returns a set of MSRs containing the MTRR configuration.
setup_page_tables
Configures the system page tables and control registers for long mode with paging. Prepares identity mapping for the low 4GB memory.
vcpu_supported_variable_mtrrs
Returns the number of variable MTRR entries supported by vcpu.
write_gdt_table ๐Ÿ”’
write_idt_value ๐Ÿ”’

Type Aliasesยง

Result