]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/machine/cpu_capabilities.h
xnu-4570.1.46.tar.gz
[apple/xnu.git] / osfmk / machine / cpu_capabilities.h
index 606ec28987c9c0a12d6e7ba729247852fbb1e3dc..2a9615cef7e36ff254c5fa87c23862da2ea0cc1e 100644 (file)
 #define _MACHINE_CPU_CAPABILITIES_H
 
 #ifdef KERNEL_PRIVATE
-#if defined (__ppc__)
-#include "ppc/cpu_capabilities.h"
-#elif defined (__i386__) || defined (__x86_64__)
+#if defined (__i386__) || defined (__x86_64__)
 #include "i386/cpu_capabilities.h"
+#elif defined (__arm__) || defined (__arm64__)
+#include "arm/cpu_capabilities.h"
 #else
 #error architecture not supported
 #endif
 
 #else /* !KERNEL_PRIVATE -- System Framework header */
-#if defined (__ppc__) || defined(__ppc64__)
-#include <System/ppc/cpu_capabilities.h>
-#elif defined (__i386__) || defined(__x86_64__)
+#if defined (__i386__) || defined(__x86_64__)
 #include <System/i386/cpu_capabilities.h>
+#elif defined (__arm__) || defined(__arm64__)
+#include <System/arm/cpu_capabilities.h>
 #else
 #error architecture not supported
 #endif