/DragonOS/kernel/src/arch/x86_64/ |
H A D | msi.rs | 13 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 D | handle.rs | 16 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 D | msi.rs | 13 pub vector: u8, field
|
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | ioapic.rs | 162 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 D | lapic_vector.rs | 107 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 D | hw_irq.rs | 8 pub vector: HardwareIrqNumber, field
|
H A D | mod.rs | 180 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 D | apic_timer.rs | 239 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 D | vmexit.rs | 62 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 D | pci_irq.rs | 634 for vector in self.irq_vector_mut().unwrap().read().iter() { in msi_uninstall() 635 let irq = IrqNumber::new((*vector).into()); in msi_uninstall() 684 for vector in self.irq_vector_mut().unwrap().read().iter() { in msix_uninstall() 685 let irq = IrqNumber::new((*vector).into()); in msix_uninstall()
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | transport_pci.rs | 330 let vector = volread!(self.common_cfg, queue_msix_vector); in queue_set() localVariable 331 if vector != VIRTIO_RECV_VECTOR_INDEX { in queue_set()
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.3.md | 300 * 把softirq vector移动到c文件中(原来在.h)
|