Returning CPUID_FEAT_EDX_APIC with GCC cpuid.h

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
FunnyGuy9796
Member
Member
Posts: 61
Joined: Tue Sep 13, 2022 9:29 pm
Libera.chat IRC: FunnyGuy9796

Returning CPUID_FEAT_EDX_APIC with GCC cpuid.h

Post by FunnyGuy9796 »

I am using the built in cpuid.h file from GCC and while reading the OSDev Wiki APIC article I noticed that CPUID_FEAT_EDX_APIC was never defined and I could not find it in the cpuid.h source file on GitHub either. I am not sure if it would be a static value or if the value changes per target.
kzinti
Member
Member
Posts: 898
Joined: Mon Feb 02, 2015 7:11 pm

Re: Returning CPUID_FEAT_EDX_APIC with GCC cpuid.h

Post by kzinti »

Google is your friend.

First hit: https://wiki.osdev.org/Talk:CPUID
Second hit: https://wiki.osdev.org/CPUID
Post Reply