X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/f09e806d5032150564df39a2f7b1192c4d84cf15..946c3fdd31300074cc78841795bd47af908ddddb:/lunaix-os/includes/hal/cpu.h diff --git a/lunaix-os/includes/hal/cpu.h b/lunaix-os/includes/hal/cpu.h index 694d678..3b77c7e 100644 --- a/lunaix-os/includes/hal/cpu.h +++ b/lunaix-os/includes/hal/cpu.h @@ -137,4 +137,10 @@ cpu_rdmsr(u32_t msr_idx, u32_t* reg_high, u32_t* reg_low); void cpu_wrmsr(u32_t msr_idx, u32_t reg_high, u32_t reg_low); +static inline void +cpu_ldvmspace(ptr_t vms) +{ + cpu_lcr3(vms); +} + #endif \ No newline at end of file