Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/interrupt/apic/
Dapic.c163 … uint64_t qword = *(uint64_t *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_SVR); in __local_apic_xapic_init() local
165 qword |= (1 << 8); in __local_apic_xapic_init()
166 … *(volatile uint64_t *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_SVR) = qword; in __local_apic_xapic_init()
167qword = *(volatile uint64_t *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_SVR); in __local_apic_xapic_init()
168 if (qword & 0x100) in __local_apic_xapic_init()
170 if (qword & 0x1000) in __local_apic_xapic_init()
174qword = *(volatile uint64_t *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_Versi… in __local_apic_xapic_init()
175 qword &= 0xffffffff; in __local_apic_xapic_init()
177 local_apic_max_LVT_entries = ((qword >> 16) & 0xff) + 1; in __local_apic_xapic_init()
178 local_apic_version = qword & 0xff; in __local_apic_xapic_init()
[all …]