]> git.saurik.com Git - apple/xnu.git/blobdiff - kgmacros
xnu-2050.48.11.tar.gz
[apple/xnu.git] / kgmacros
index 0f5dcbc2b024b06664f345f150c930228e8eb633..6a12bb11cee59600f00a8d4c00f1c7b762829254 100644 (file)
--- a/kgmacros
+++ b/kgmacros
@@ -807,7 +807,7 @@ define showactint
                set $kgm_actint_framecount = 0
                while ($mysp != 0) && (($mysp & $stkmask) == 0) \
                      && ($mysp != $prevsp) \
                set $kgm_actint_framecount = 0
                while ($mysp != 0) && (($mysp & $stkmask) == 0) \
                      && ($mysp != $prevsp) \
-                     && ((((unsigned long) $mysp ^ (unsigned long) $prevsp) < 0x2000) \
+                     && ((((unsigned long) $mysp - (unsigned long) $prevsp) < 0x4000) \
                      || (((unsigned long)$mysp < ((unsigned long) ($kgm_thread->kernel_stack+kernel_stack_size))) \
                      && ((unsigned long)$mysp > (unsigned long) ($kgm_thread->kernel_stack)))) \
                      && ($kgm_actint_framecount < 128)
                      || (((unsigned long)$mysp < ((unsigned long) ($kgm_thread->kernel_stack+kernel_stack_size))) \
                      && ((unsigned long)$mysp > (unsigned long) ($kgm_thread->kernel_stack)))) \
                      && ($kgm_actint_framecount < 128)