20 #ifndef KERNEL_PROCESSOR_TYPES_H 21 #define KERNEL_PROCESSOR_TYPES_H 24 #include "pedigree/kernel/processor/x86/types.h" 25 #define PROCESSOR_SPECIFIC_NAME(x) X86##x 27 #include "pedigree/kernel/processor/x64/types.h" 28 #define PROCESSOR_SPECIFIC_NAME(x) X64##x 30 #include "pedigree/kernel/processor/mips32/types.h" 31 #define PROCESSOR_SPECIFIC_NAME(x) MIPS32##x 33 #include "pedigree/kernel/processor/mips64/types.h" 34 #define PROCESSOR_SPECIFIC_NAME(x) MIPS64##x 35 #elif defined(ARM_COMMON) 36 #include "pedigree/kernel/processor/arm_common/types.h" 37 #define PROCESSOR_SPECIFIC_NAME(x) ARM##x 39 #include "pedigree/kernel/processor/ppc32/types.h" 40 #define PROCESSOR_SPECIFIC_NAME(x) PPC32##x 42 #include "pedigree/kernel/processor/hosted/types.h" 43 #define PROCESSOR_SPECIFIC_NAME(x) HOSTED##x 48 #if !defined(PROCESSOR_SPECIFIC_NAME) 49 #error Unknown processor architecture 87 #ifndef _SSIZE_T_DEFINED 88 #define _SSIZE_T_DEFINED 92 #ifndef _SIZE_T_DEFINED 93 #define _SIZE_T_DEFINED 99 #if !defined(KERNEL_PROCESSOR_NO_PORT_IO) 104 #if !defined(PAGE_SIZE) 105 #error PAGE_SIZE not defined 110 #undef PROCESSOR_SPECIFIC_NAME typedef PROCESSOR_SPECIFIC_NAME(int8_t) int8_t