]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/machine/cpu_capabilities.h
xnu-792.6.76.tar.gz
[apple/xnu.git] / osfmk / machine / cpu_capabilities.h
index a573941ef4a0970dc4dc2c1899b918e637294151..65f8ea8f7000543b56537044f6c2af25fbbd12e6 100644 (file)
  * 
  * @APPLE_LICENSE_HEADER_END@
  */
+#ifdef PRIVATE
 
 #ifndef _MACHINE_CPU_CAPABILITIES_H
 #define _MACHINE_CPU_CAPABILITIES_H
 
-#ifdef __APPLE_API_PRIVATE
-
+#ifdef KERNEL_PRIVATE
 #if defined (__ppc__)
 #include "ppc/cpu_capabilities.h"
 #elif defined (__i386__)
 #error architecture not supported
 #endif
 
-#endif /* __APPLE_API_PRIVATE */
+#else /* !KERNEL_PRIVATE -- System Framework header */
+#if defined (__ppc__) || defined(__ppc64__)
+#include <System/ppc/cpu_capabilities.h>
+#elif defined (__i386__)
+#include <System/i386/cpu_capabilities.h>
+#else
+#error architecture not supported
+#endif
+#endif /* KERNEL_PRIVATE */
+
 #endif /* _MACHINE_CPU_CAPABILITIES_H */
+#endif /* PRIVATE */