X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/39236c6e673c41db228275375ab7fdb0f837b292..bb59bff194111743b33cc36712410b5656329d3c:/bsd/sys/fasttrap_impl.h diff --git a/bsd/sys/fasttrap_impl.h b/bsd/sys/fasttrap_impl.h index 840fcde2d..439d36864 100644 --- a/bsd/sys/fasttrap_impl.h +++ b/bsd/sys/fasttrap_impl.h @@ -171,19 +171,14 @@ typedef struct fasttrap_hash { #define fasttrap_fuword32 fuword32 #define fasttrap_suword32 suword32 -#if defined __APPLE__ /* - * xnu runs in 32 bit mode even when supporting 64 bit processes. We need - * to make size explicit. + * APPLE NOTE: xnu supports both 32bit and 64bit user processes. + * We need to make size explicit. */ #define fasttrap_fuword64 fuword64 #define fasttrap_suword64 suword64 #define fasttrap_fuword64_noerr fuword64_noerr #define fasttrap_fuword32_noerr fuword32_noerr -#else -#define fasttrap_fulword fulword -#define fasttrap_sulword sulword -#endif extern void fasttrap_sigtrap(proc_t *, uthread_t, user_addr_t);