Searched refs:rte_index (Results 1 – 1 of 1) sorted by relevance
/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() 165 self.write(REG_TABLE + 2 * rte_index + 1, (dest as u32) << 24); in write_rte() 171 pub fn enable(&mut self, rte_index: u8) { in enable() 172 let mut val = unsafe { self.read(REG_TABLE + 2 * rte_index) }; in enable() 174 unsafe { self.write(REG_TABLE + 2 * rte_index, val) }; in enable() 177 pub fn disable(&mut self, rte_index: u8) { in disable() 178 let reg = REG_TABLE + 2 * rte_index; in disable() 198 rte_index: u8, in install() 230 self.write_rte(rte_index, vector, flags, dest); in install() [all …]
|