Better AARCH64 support.
This commit is contained in:
parent
5932492d8a
commit
3a8e89d6f6
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user