Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 12 of 12) sorted by relevance

/DragonOS/kernel/src/arch/x86_64/
H A Dmsi.rs13 pub fn arch_msi_message_data(vector: u16, _processor: u16, trigger: TriggerMode) -> u32 { in arch_msi_message_data()
15 TriggerMode::EdgeTrigger => vector as u32, in arch_msi_message_data()
16 TriggerMode::AssertHigh => vector as u32 | 1 << 15 | 1 << 14, in arch_msi_message_data()
17 TriggerMode::AssertLow => vector as u32 | 1 << 15, in arch_msi_message_data()
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dhandle.rs16 unsafe extern "C" fn x86_64_do_irq(trap_frame: &mut TrapFrame, vector: u32) { in x86_64_do_irq()
25 let desc = irq_desc_manager().lookup(IrqNumber::new(vector)); in x86_64_do_irq()
46 && vector == APIC_TIMER_IRQ_NUM.data() in x86_64_do_irq()
H A Dmsi.rs13 pub vector: u8, field
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dioapic.rs162 fn write_rte(&mut self, rte_index: u8, vector: u8, flags: RedirectionEntry, dest: u8) { in write_rte()
164 self.write(REG_TABLE + 2 * rte_index, vector as u32 | flags.bits()); in write_rte()
199 vector: u8, in install()
224 if !(0x20..=0xef).contains(&vector) { in install()
230 self.write_rte(rte_index, vector, flags, dest); in install()
242 pub fn set_irq_vector(&mut self, irq: u8, vector: u8) { in set_irq_vector()
249 self.write(REG_TABLE + 2 * irq, *old.set_bits(0..8, vector as u32)); in set_irq_vector()
344 vector: u8, in new()
354 vector, in new()
372 vector: u8, field
[all …]
H A Dlapic_vector.rs107 IpiKind::SpecVector(inner.vector), in retrigger()
134 vector: HardwareIrqNumber, in new()
141 vector, in new()
160 vector: HardwareIrqNumber, field
188 .with_vector((cfg.vector.data() & 0xff) as u8); in irq_msi_compose_msg()
H A Dhw_irq.rs8 pub vector: HardwareIrqNumber, field
H A Dmod.rs180 pub fn set_vector(&mut self, vector: u8) { in set_vector()
182 self.data |= vector as u32; in set_vector()
187 pub fn vector(&self) -> u8 { in vector() method
H A Dapic_timer.rs239 fn setup_lvt(&mut self, vector: u8, mask: bool, mode: LocalApicTimerMode) { in setup_lvt()
241 let data = (mode << 17) | (vector as u32) | (if mask { 1 << 16 } else { 0 }); in setup_lvt()
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dvmexit.rs62 let vector: u32 = APICExceptionVectors::EXCEPTION_UNDEFINED_OPCODE as u32; in vmexit_vmx_instruction_executed() localVariable
65 let interrupt_info = valid << 31 | interrupt_type << 8 | deliver_code << 11 | vector; in vmexit_vmx_instruction_executed()
/DragonOS/kernel/src/driver/pci/
H A Dpci_irq.rs633 for vector in self.irq_vector_mut().unwrap() { in msi_uninstall()
634 let irq = IrqNumber::new((*vector).into()); in msi_uninstall()
683 for vector in self.irq_vector_mut().unwrap() { in msix_uninstall()
684 let irq = IrqNumber::new((*vector).into()); in msix_uninstall()
/DragonOS/kernel/src/driver/virtio/
H A Dtransport_pci.rs329 let vector = volread!(self.common_cfg, queue_msix_vector); in queue_set() localVariable
330 if vector != VIRTIO_RECV_VECTOR_INDEX { in queue_set()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.3.md300 * 把softirq vector移动到c文件中(原来在.h)