Page 1 of 1

Returning CPUID_FEAT_EDX_APIC with GCC cpuid.h

Posted: Sat Oct 29, 2022 8:52 am
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.

Re: Returning CPUID_FEAT_EDX_APIC with GCC cpuid.h

Posted: Sat Oct 29, 2022 10:58 am
by kzinti
Google is your friend.

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