Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/driver/interrupt/apic/
Dapic.c157 … uint64_t qword = *(uint64_t *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_SVR); in __local_apic_xapic_init() local
159 qword |= (1 << 8); in __local_apic_xapic_init()
160 *(uint64_t *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_SVR) = qword; in __local_apic_xapic_init()
161 qword = *(uint64_t *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_SVR); in __local_apic_xapic_init()
162 if (qword & 0x100) in __local_apic_xapic_init()
164 if (qword & 0x1000) in __local_apic_xapic_init()
168 qword = *(uint64_t *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_Version); in __local_apic_xapic_init()
169 qword &= 0xffffffff; in __local_apic_xapic_init()
171 local_apic_max_LVT_entries = ((qword >> 16) & 0xff) + 1; in __local_apic_xapic_init()
172 local_apic_version = qword & 0xff; in __local_apic_xapic_init()
[all …]