Home
last modified time | relevance | path

Searched refs:LocalApicEnableType (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dmod.rs34 pub enum LocalApicEnableType { enum
40 AtomicLocalApicEnableType::new(LocalApicEnableType::XApic);
453 return LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic; in x2apic_enabled()
494 LOCAL_APIC_ENABLE_TYPE.store(LocalApicEnableType::X2Apic, Ordering::SeqCst); in init_current_cpu()
500 LOCAL_APIC_ENABLE_TYPE.store(LocalApicEnableType::XApic, Ordering::SeqCst); in init_current_cpu()
525 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in send_eoi()
533 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in version()
545 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in support_eoi_broadcast_suppression()
557 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in max_lvt_entry()
569 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in id()
[all …]