Home
last modified time | relevance | path

Searched refs:lvt (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.9/kernel/src/arch/x86_64/driver/apic/
Dapic_timer.rs240 let lvt = LVT::new(LVTRegister::Timer, data).unwrap(); in setup_lvt() localVariable
242 CurrentApic.set_lvt(lvt); in setup_lvt()
256 let mut lvt = CurrentApic.read_lvt(LVTRegister::Timer); in start_current() localVariable
257 lvt.set_mask(false); in start_current()
258 CurrentApic.set_lvt(lvt); in start_current()
262 let mut lvt = CurrentApic.read_lvt(LVTRegister::Timer); in stop_current() localVariable
263 lvt.set_mask(true); in stop_current()
264 CurrentApic.set_lvt(lvt); in stop_current()
Dx2apic.rs92 fn set_lvt(&mut self, lvt: LVT) { in set_lvt()
94 wrmsr(lvt.register().into(), lvt.data as u64); in set_lvt()
Dxapic.rs101 fn from(lvt: LVTRegister) -> Self { in from()
102 match lvt { in from()
308 fn set_lvt(&mut self, lvt: LVT) { in set_lvt()
310 self.write(lvt.register().into(), lvt.data); in set_lvt()
Dmod.rs74 fn set_lvt(&mut self, lvt: LVT); in set_lvt()
582 fn set_lvt(&mut self, lvt: LVT) { in set_lvt()
584 X2Apic.set_lvt(lvt); in set_lvt()
587 xapic.set_lvt(lvt); in set_lvt()