Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dx2apic.rs123 fn write_icr(&self, icr: x86::apic::Icr) { in write_icr()
124 unsafe { wrmsr(0x830, ((icr.upper() as u64) << 32) | icr.lower() as u64) }; in write_icr()
H A Dxapic.rs322 fn write_icr(&self, icr: x86::apic::Icr) { in write_icr()
331 icr.upper(), in write_icr()
335 icr.lower(), in write_icr()
H A Dmod.rs82 fn write_icr(&self, icr: Icr); in write_icr()
608 fn write_icr(&self, icr: Icr) { in write_icr()
610 X2Apic.write_icr(icr); in write_icr()
612 xapic.write_icr(icr); in write_icr()
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dipi.rs131 let icr = if CurrentApic.x2apic_enabled() { in send_ipi() localVariable
157 CurrentApic.write_icr(icr); in send_ipi()
163 let icr = if CurrentApic.x2apic_enabled() { in ipi_send_smp_init() localVariable
186 CurrentApic.write_icr(icr); in ipi_send_smp_init()
200 let icr = if CurrentApic.x2apic_enabled() { in ipi_send_smp_startup() localVariable
224 CurrentApic.write_icr(icr); in ipi_send_smp_startup()
/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e.rs398 let icr = volread!(interrupt_regs, icr); in new() localVariable
399 volwrite!(interrupt_regs, icr, icr); in new()
480 let icr = unsafe { volread!(self.interrupt_regs, icr) }; in e1000e_intr() localVariable
482 unsafe { volwrite!(self.interrupt_regs, icr, icr) }; in e1000e_intr()
653 icr: Volatile<u32>, //0x000c0 ICR寄存器应当为只读寄存器,但我们需要向其中写入来清除对应位 field