Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/driver/interrupt/apic/
Dapic.c160 … uint64_t qword = *(uint64_t *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_SVR); in __local_apic_xapic_init() local
162 qword |= (1 << 8); in __local_apic_xapic_init()
163 *(uint64_t *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_SVR) = qword; in __local_apic_xapic_init()
164 qword = *(uint64_t *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_SVR); in __local_apic_xapic_init()
165 if (qword & 0x100) in __local_apic_xapic_init()
167 if (qword & 0x1000) in __local_apic_xapic_init()
171 qword = *(uint64_t *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_Version); in __local_apic_xapic_init()
172 qword &= 0xffffffff; in __local_apic_xapic_init()
174 local_apic_max_LVT_entries = ((qword >> 16) & 0xff) + 1; in __local_apic_xapic_init()
175 local_apic_version = qword & 0xff; in __local_apic_xapic_init()
[all …]