diff --git a/src/nvcore/Debug.cpp b/src/nvcore/Debug.cpp index 463691c..d95257a 100644 --- a/src/nvcore/Debug.cpp +++ b/src/nvcore/Debug.cpp @@ -607,6 +607,9 @@ namespace # elif NV_CPU_ARM ucontext_t * ucp = (ucontext_t *)secret; return (void *) ucp->uc_mcontext->__ss.__pc; +# elif NV_CPU_AARCH64 + ucontext_t * ucp = (ucontext_t *)secret; + return (void *) ucp->uc_mcontext->__ss.__pc; # else # error "Unknown CPU" # endif diff --git a/src/nvcore/nvcore.h b/src/nvcore/nvcore.h index 5657a31..f3bbb66 100644 --- a/src/nvcore/nvcore.h +++ b/src/nvcore/nvcore.h @@ -97,7 +97,7 @@ // NV_CPU_X86_64 // NV_CPU_PPC // NV_CPU_ARM -// NV_CPU_ARM_64 +// NV_CPU_AARCH64 // NV_CPU_E2K #define NV_CPU_STRING POSH_CPU_STRING @@ -112,7 +112,7 @@ #elif defined POSH_CPU_STRONGARM # define NV_CPU_ARM 1 #elif defined POSH_CPU_AARCH64 -# define NV_CPU_ARM_64 1 +# define NV_CPU_AARCH64 1 #elif defined POSH_CPU_E2K # define NV_CPU_E2K 1 #else