20 #ifndef KERNEL_PROCESSOR_PROCESSORINFORMATION_H 21 #define KERNEL_PROCESSOR_PROCESSORINFORMATION_H 23 #include "pedigree/kernel/processor/types.h" 33 #ifndef _PROCESSOR_INFORMATION_ONLY_WANT_PROCESSORID 35 #if defined(X86_COMMON) 36 #include "pedigree/kernel/processor/x86_common/ProcessorInformation.h" 37 #define PROCESSOR_SPECIFIC_NAME(x) X86Common##x 38 #elif defined(MIPS_COMMON) 39 #include "pedigree/kernel/processor/mips_common/ProcessorInformation.h" 40 #define PROCESSOR_SPECIFIC_NAME(x) MIPSCommon##x 41 #elif defined(ARM_COMMON) 42 #include "pedigree/kernel/processor/arm_common/ProcessorInformation.h" 43 #define PROCESSOR_SPECIFIC_NAME(x) ArmCommon##x 44 #elif defined(PPC_COMMON) 45 #include "pedigree/kernel/processor/ppc_common/ProcessorInformation.h" 46 #define PROCESSOR_SPECIFIC_NAME(x) PPCCommon##x 48 #include "pedigree/kernel/processor/hosted/ProcessorInformation.h" 49 #define PROCESSOR_SPECIFIC_NAME(x) Hosted##x 54 #if !defined(PROCESSOR_SPECIFIC_NAME) 55 #error Unknown processor architecture 69 #undef PROCESSOR_SPECIFIC_NAME 72 #undef KERNEL_PROCESSOR_PROCESSORINFORMATION_H
typedef PROCESSOR_SPECIFIC_NAME(ProcessorInformation) ProcessorInformation