]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/machine/machine_routines.h
xnu-4903.241.1.tar.gz
[apple/xnu.git] / osfmk / machine / machine_routines.h
index 4a99e78fc76add621a643e26d496ac95b75dac4c..3fd9a0a79360d6aaf18340963d49c13613a9bb2d 100644 (file)
 #ifndef _MACHINE_MACHINE_ROUTINES_H
 #define _MACHINE_MACHINE_ROUTINES_H
 
 #ifndef _MACHINE_MACHINE_ROUTINES_H
 #define _MACHINE_MACHINE_ROUTINES_H
 
-#if defined (__ppc__)
-#include "ppc/machine_routines.h"
-#elif defined (__i386__)
+#if defined (__i386__) || defined(__x86_64__)
 #include "i386/machine_routines.h"
 #include "i386/machine_routines.h"
+#elif defined (__arm__) || defined (__arm64__)
+#include "arm/machine_routines.h"
 #else
 #error architecture not supported
 #endif
 #else
 #error architecture not supported
 #endif