Lines Matching refs:read
131 pub unsafe fn read(&self, reg: XApicOffset) -> u32 { in read() method
142 self.read(XApicOffset::LOCAL_APIC_OFFSET_Local_APIC_ID); // 等待写操作完成,通过读取进行同步 in write()
227 let val = self.read(XApicOffset::LOCAL_APIC_OFFSET_Local_APIC_SVR); in init_current_cpu()
231 let val = self.read(XApicOffset::LOCAL_APIC_OFFSET_Local_APIC_SVR); in init_current_cpu()
259 while self.read(XApicOffset::LOCAL_APIC_OFFSET_Local_APIC_ICR_31_0) & DELIVS != 0 { in init_current_cpu()
277 unsafe { (self.read(XApicOffset::LOCAL_APIC_OFFSET_Local_APIC_Version) & 0xff) as u8 } in version()
281 unsafe { ((self.read(XApicOffset::LOCAL_APIC_OFFSET_Local_APIC_Version) >> 24) & 1) == 1 } in support_eoi_broadcast_suppression()
286 ((self.read(XApicOffset::LOCAL_APIC_OFFSET_Local_APIC_Version) >> 16) & 0xff) as u8 + 1 in max_lvt_entry()
292 unsafe { ApicId::new(self.read(XApicOffset::LOCAL_APIC_OFFSET_Local_APIC_ID) >> 24) } in id()
306 self.read(XApicOffset::LOCAL_APIC_OFFSET_Local_APIC_LVT_TIMER), in read_lvt()
325 while self.read(XApicOffset::LOCAL_APIC_OFFSET_Local_APIC_ICR_31_0) & DELIVS != 0 { in write_icr()
339 while self.read(XApicOffset::LOCAL_APIC_OFFSET_Local_APIC_ICR_31_0) & DELIVS != 0 { in write_icr()