Lines Matching refs:msr
68 msr_t msr; in enable_lapic() local
70 msr = msr_read(MSR_IA32_APICBASE); in enable_lapic()
71 msr.hi &= 0xffffff00; in enable_lapic()
72 msr.lo |= MSR_IA32_APICBASE_ENABLE; in enable_lapic()
73 msr.lo &= ~MSR_IA32_APICBASE_BASE; in enable_lapic()
74 msr.lo |= LAPIC_DEFAULT_BASE; in enable_lapic()
75 msr_write(MSR_IA32_APICBASE, msr); in enable_lapic()
82 msr_t msr; in disable_lapic() local
84 msr = msr_read(MSR_IA32_APICBASE); in disable_lapic()
85 msr.lo &= ~MSR_IA32_APICBASE_ENABLE; in disable_lapic()
86 msr_write(MSR_IA32_APICBASE, msr); in disable_lapic()