Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dmod.rs10 driver::apic::{hw_irq::ApicId, x2apic::X2Apic, xapic::XApic},
36 X2Apic, enumerator
453 return LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic; in x2apic_enabled()
492 if X2Apic::support() && X2Apic.init_current_cpu() { in init_current_cpu()
494 LOCAL_APIC_ENABLE_TYPE.store(LocalApicEnableType::X2Apic, Ordering::SeqCst); in init_current_cpu()
525 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in send_eoi()
526 X2Apic.send_eoi(); in send_eoi()
533 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in version()
534 return X2Apic.version(); in version()
545 if LOCAL_APIC_ENABLE_TYPE.load(Ordering::SeqCst) == LocalApicEnableType::X2Apic { in support_eoi_broadcast_suppression()
[all …]
H A Dx2apic.rs12 pub struct X2Apic; struct
14 impl LocalAPIC for X2Apic { implementation
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dipi.rs84 return x86::apic::ApicId::X2Apic(0); in from()
105 x86::apic::ApicId::X2Apic(cpu_id.data()) in cpu_id_to_apic_id()