X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/cc8bc92ae4a8e9f1a1ab61bf83d34ad8150b3405..5c9f46613a83ebfc29a5b1f099448259e96a98f0:/osfmk/x86_64/locore.s diff --git a/osfmk/x86_64/locore.s b/osfmk/x86_64/locore.s index 0638e5162..d88f2a08a 100644 --- a/osfmk/x86_64/locore.s +++ b/osfmk/x86_64/locore.s @@ -159,6 +159,12 @@ wrmsr_fail: ret #if DEBUG +#ifndef TERI +#define TERI 1 +#endif +#endif + +#if TERI .globl EXT(thread_exception_return_internal) #else .globl EXT(thread_exception_return) @@ -169,7 +175,7 @@ LEXT(thread_bootstrap_return) call EXT(dtrace_thread_bootstrap) #endif -#if DEBUG +#if TERI LEXT(thread_exception_return_internal) #else LEXT(thread_exception_return)