MOS Source Code
|
Go to the source code of this file.
Macros | |
#define | x86_cpuid(return_reg, leaf, subleaf) |
#define | x86_cpu_get_crx(x) |
#define | x86_cpu_set_crx(x, val) |
#define | x86_cpu_get_cr0() |
#define | x86_cpu_get_cr2() |
#define | x86_cpu_get_cr3() |
#define | x86_cpu_get_cr4() |
#define | x86_cpu_set_cr0(val) |
#define | x86_cpu_set_cr3(val) |
#define | x86_cpu_set_cr4(val) |
Functions | |
should_inline u64 | cpu_rdmsr (u32 msr) |
should_inline void | cpu_wrmsr (u32 msr, u64 val) |
should_inline void | x86_cpu_halt (void) |
should_inline void | x86_cpu_invlpg (ptr_t addr) |
should_inline void | x86_cpu_invlpg_all (void) |
void | x86_cpu_initialise_caps (void) |
void | x86_cpu_setup_xsave_area (void) |
#define x86_cpuid | ( | return_reg, | |
leaf, | |||
subleaf ) |
Definition at line 28 of file cpu.h.
Referenced by platform_current_cpu_id().
#define x86_cpu_get_crx | ( | x | ) |
#define x86_cpu_set_crx | ( | x, | |
val ) |
#define x86_cpu_get_cr0 | ( | ) |
#define x86_cpu_get_cr2 | ( | ) |
#define x86_cpu_get_cr3 | ( | ) |
#define x86_cpu_get_cr4 | ( | ) |
Definition at line 43 of file cpu.h.
Referenced by x86_cpu_initialise_caps(), and x86_cpu_setup_xsave_area().
#define x86_cpu_set_cr0 | ( | val | ) |
Definition at line 45 of file cpu.h.
Referenced by x86_cpu_setup_xsave_area().
#define x86_cpu_set_cr3 | ( | val | ) |
Definition at line 46 of file cpu.h.
Referenced by platform_switch_mm().
#define x86_cpu_set_cr4 | ( | val | ) |
Definition at line 47 of file cpu.h.
Referenced by x86_cpu_initialise_caps(), and x86_cpu_setup_xsave_area().
should_inline u64 cpu_rdmsr | ( | u32 | msr | ) |
should_inline void x86_cpu_halt | ( | void | ) |
Definition at line 22 of file cpu.h.
Referenced by platform_halt_cpu(), and platform_shutdown().
should_inline void x86_cpu_invlpg | ( | ptr_t | addr | ) |
Definition at line 49 of file cpu.h.
Referenced by platform_invalidate_tlb().
should_inline void x86_cpu_invlpg_all | ( | void | ) |
Definition at line 54 of file cpu.h.
Referenced by platform_invalidate_tlb().
Definition at line 20 of file cpu.c.
Referenced by platform_ap_entry(), and platform_startup_early().
Definition at line 37 of file cpu.c.
Referenced by platform_ap_entry(), and platform_startup_early().