Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dhw_irq.rs3 int_like!(ApicId, u32);
7 pub apic_id: ApicId,
H A Dx2apic.rs9 use super::{hw_irq::ApicId, LVTRegister, LocalAPIC, LVT};
88 fn id(&self) -> ApicId { in id() argument
89 unsafe { ApicId::new(rdmsr(IA32_X2APIC_APICID) as u32) } in id()
H A Dxapic.rs18 use super::{hw_irq::ApicId, LVTRegister, LocalAPIC, LVT};
291 fn id(&self) -> ApicId { in id() argument
292 unsafe { ApicId::new(self.read(XApicOffset::LOCAL_APIC_OFFSET_Local_APIC_ID) >> 24) } in id()
H A Dmod.rs10 driver::apic::{hw_irq::ApicId, x2apic::X2Apic, xapic::XApic},
68 fn id(&self) -> ApicId; in id() argument
568 fn id(&self) -> ApicId { in id() argument
576 .unwrap_or(ApicId::new(0)); in id()
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dipi.rs4 use x86::apic::ApicId;
63 Specified(x86::apic::ApicId),
79 impl From<ArchIpiTarget> for ApicId { implementation
84 return x86::apic::ApicId::X2Apic(0); in from()
86 return x86::apic::ApicId::XApic(0); in from()
103 fn cpu_id_to_apic_id(cpu_id: ProcessorId) -> x86::apic::ApicId { in cpu_id_to_apic_id() argument
105 x86::apic::ApicId::X2Apic(cpu_id.data()) in cpu_id_to_apic_id()
107 x86::apic::ApicId::XApic(cpu_id.data() as u8) in cpu_id_to_apic_id()
130 let destination: x86::apic::ApicId = target.into(); in send_ipi()