Searched refs:CurrentApic (Results 1 – 9 of 9) sorted by relevance
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | c_adapter.rs | 1 use super::{CurrentApic, LocalAPIC}; 5 if CurrentApic.init_current_cpu() { in rs_apic_init_ap()
|
H A D | apic_timer.rs | 29 use super::{CurrentApic, LVTRegister, LocalAPIC, LVT}; 72 CurrentApic.send_eoi(); in handle() 244 CurrentApic.set_lvt(lvt); in setup_lvt() 249 CurrentApic.set_timer_divisor(divisor); in set_divisor() 254 CurrentApic.set_timer_initial_count(initial_count); in set_initial_cnt() 258 let mut lvt = CurrentApic.read_lvt(LVTRegister::Timer); in start_current() 260 CurrentApic.set_lvt(lvt); in start_current() 264 let mut lvt = CurrentApic.read_lvt(LVTRegister::Timer); in stop_current() 266 CurrentApic.set_lvt(lvt); in stop_current() 307 impl CurrentApic { impl
|
H A D | lapic_vector.rs | 33 use super::{hw_irq::HardwareIrqConfig, CurrentApic, LocalAPIC}; 68 CurrentApic.send_eoi(); in irq_ack() 260 CurrentApic.init_current_cpu(); in arch_early_irq_init()
|
H A D | mod.rs | 448 pub struct CurrentApic; struct 450 impl CurrentApic { implementation 479 impl LocalAPIC for CurrentApic { implementation
|
H A D | ioapic.rs | 32 use super::{CurrentApic, LocalAPIC}; 594 CurrentApic.send_eoi(); in irq_eoi()
|
/DragonOS/kernel/src/arch/x86_64/interrupt/ |
H A D | ipi.rs | 8 driver::apic::{lapic_vector::local_apic_chip, CurrentApic, LocalAPIC}, 83 } else if CurrentApic.x2apic_enabled() { in from() 104 if CurrentApic.x2apic_enabled() { in cpu_id_to_apic_id() 131 let icr = if CurrentApic.x2apic_enabled() { in send_ipi() 157 CurrentApic.write_icr(icr); in send_ipi() 163 let icr = if CurrentApic.x2apic_enabled() { in ipi_send_smp_init() 186 CurrentApic.write_icr(icr); in ipi_send_smp_init() 200 let icr = if CurrentApic.x2apic_enabled() { in ipi_send_smp_startup() 224 CurrentApic.write_icr(icr); in ipi_send_smp_startup() 257 CurrentApic.send_eoi(); in handle() [all …]
|
H A D | handle.rs | 4 arch::driver::apic::{apic_timer::APIC_TIMER_IRQ_NUM, CurrentApic, LocalAPIC}, 33 CurrentApic.send_eoi(); in x86_64_do_irq() 36 CurrentApic.send_eoi(); in x86_64_do_irq()
|
H A D | mod.rs | 23 driver::apic::{lapic_vector::arch_early_irq_init, CurrentApic, LocalAPIC}, 90 CurrentApic.send_eoi(); in ack_bad_irq() 98 if !CurrentApic.init_current_cpu() { in arch_ap_early_irq_init()
|
/DragonOS/kernel/src/exception/ |
H A D | ipi.rs | 5 use crate::arch::driver::apic::{CurrentApic, LocalAPIC}; 55 CurrentApic.send_eoi(); in handle()
|