Merge pull request #330 from MaddTheSane/arm64
Better AARCH64/Arm64 support.
This commit is contained in:
commit
249d678b25
@ -604,7 +604,7 @@ namespace
|
|||||||
# elif NV_CPU_X86
|
# elif NV_CPU_X86
|
||||||
ucontext_t * ucp = (ucontext_t *)secret;
|
ucontext_t * ucp = (ucontext_t *)secret;
|
||||||
return (void *) ucp->uc_mcontext->__ss.__eip;
|
return (void *) ucp->uc_mcontext->__ss.__eip;
|
||||||
# elif NV_CPU_ARM
|
# elif NV_CPU_ARM || NV_CPU_AARCH64
|
||||||
ucontext_t * ucp = (ucontext_t *)secret;
|
ucontext_t * ucp = (ucontext_t *)secret;
|
||||||
return (void *) ucp->uc_mcontext->__ss.__pc;
|
return (void *) ucp->uc_mcontext->__ss.__pc;
|
||||||
# else
|
# else
|
||||||
|
@ -97,7 +97,7 @@
|
|||||||
// NV_CPU_X86_64
|
// NV_CPU_X86_64
|
||||||
// NV_CPU_PPC
|
// NV_CPU_PPC
|
||||||
// NV_CPU_ARM
|
// NV_CPU_ARM
|
||||||
// NV_CPU_ARM_64
|
// NV_CPU_AARCH64
|
||||||
// NV_CPU_E2K
|
// NV_CPU_E2K
|
||||||
|
|
||||||
#define NV_CPU_STRING POSH_CPU_STRING
|
#define NV_CPU_STRING POSH_CPU_STRING
|
||||||
@ -112,7 +112,7 @@
|
|||||||
#elif defined POSH_CPU_STRONGARM
|
#elif defined POSH_CPU_STRONGARM
|
||||||
# define NV_CPU_ARM 1
|
# define NV_CPU_ARM 1
|
||||||
#elif defined POSH_CPU_AARCH64
|
#elif defined POSH_CPU_AARCH64
|
||||||
# define NV_CPU_ARM_64 1
|
# define NV_CPU_AARCH64 1
|
||||||
#elif defined POSH_CPU_E2K
|
#elif defined POSH_CPU_E2K
|
||||||
# define NV_CPU_E2K 1
|
# define NV_CPU_E2K 1
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user