Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/arch/x86_64/driver/apic/
Dc_adapter.rs1 use super::{CurrentApic, LocalAPIC};
5 if CurrentApic.init_current_cpu() { in rs_apic_init_ap()
Dapic_timer.rs28 use super::{CurrentApic, LVTRegister, LocalAPIC, LVT};
71 CurrentApic.send_eoi(); in handle()
242 CurrentApic.set_lvt(lvt); in setup_lvt()
247 CurrentApic.set_timer_divisor(divisor as u32); in set_divisor()
252 CurrentApic.set_timer_initial_count(initial_count); in set_initial_cnt()
256 let mut lvt = CurrentApic.read_lvt(LVTRegister::Timer); in start_current()
258 CurrentApic.set_lvt(lvt); in start_current()
262 let mut lvt = CurrentApic.read_lvt(LVTRegister::Timer); in stop_current()
264 CurrentApic.set_lvt(lvt); in stop_current()
304 impl CurrentApic { impl
Dlapic_vector.rs33 use super::{hw_irq::HardwareIrqConfig, CurrentApic, LocalAPIC};
68 CurrentApic.send_eoi(); in irq_ack()
253 CurrentApic.init_current_cpu(); in arch_early_irq_init()
Dmod.rs448 pub struct CurrentApic; struct
450 impl CurrentApic { impl
479 impl LocalAPIC for CurrentApic { implementation
Dioapic.rs32 use super::{CurrentApic, LocalAPIC};
593 CurrentApic.send_eoi(); in irq_eoi()
/DragonOS-0.1.9/kernel/src/arch/x86_64/interrupt/
Dhandle.rs5 driver::apic::{apic_timer::APIC_TIMER_IRQ_NUM, CurrentApic, LocalAPIC},
35 CurrentApic.send_eoi(); in x86_64_do_irq()
38 CurrentApic.send_eoi(); in x86_64_do_irq()
Dipi.rs7 driver::apic::{lapic_vector::local_apic_chip, CurrentApic, LocalAPIC},
84 if CurrentApic.x2apic_enabled() { in into()
106 if CurrentApic.x2apic_enabled() { in cpu_id_to_apic_id()
133 let icr = if CurrentApic.x2apic_enabled() { in send_ipi()
159 CurrentApic.write_icr(icr); in send_ipi()
165 let icr = if CurrentApic.x2apic_enabled() { in ipi_send_smp_init()
188 CurrentApic.write_icr(icr); in ipi_send_smp_init()
203 let icr = if CurrentApic.x2apic_enabled() { in ipi_send_smp_startup()
227 CurrentApic.write_icr(icr); in ipi_send_smp_startup()
266 CurrentApic.send_eoi(); in handle()
Dmod.rs23 driver::apic::{lapic_vector::arch_early_irq_init, CurrentApic, LocalAPIC},
90 CurrentApic.send_eoi(); in ack_bad_irq()