Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dxapic.rs125 xapic_base: PhysAddr, field
152 pub unsafe fn new(xapic_base: PhysAddr) -> Self { in new()
153 let offset = xapic_base.data() & 0xffff; in new()
154 let paddr = PhysAddr::new(xapic_base.data() & !0xffff); in new()
163 xapic_base.data(), in new()
171 xapic_base, in new()
220 x86::msr::wrmsr(x86::msr::APIC_BASE, (self.xapic_base.data() | 0x800) as u64); in init_current_cpu()