]> 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 8f7dc84b9e1183e3c4d70c54cbf55be486760b7f..2a9615cef7e36ff254c5fa87c23862da2ea0cc1e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
 #define _MACHINE_CPU_CAPABILITIES_H
 
 #ifdef KERNEL_PRIVATE
-#if defined (__ppc__)
-#include "ppc/cpu_capabilities.h"
-#elif defined (__i386__)
+#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__)
+#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