Merge pull request #17658 from bkeys/update_thekla
Updated thekla_atlas to support arm64
This commit is contained in:
commit
bb69dfca17
2 changed files with 9 additions and 4 deletions
8
thirdparty/thekla_atlas/nvcore/Debug.h
vendored
8
thirdparty/thekla_atlas/nvcore/Debug.h
vendored
|
@ -200,10 +200,10 @@ namespace nv
|
|||
if (reinterpret_cast<uint64>(ptr) < 0x10000ULL) return false;
|
||||
if (reinterpret_cast<uint64>(ptr) >= 0x000007FFFFFEFFFFULL) return false;
|
||||
#else
|
||||
if (reinterpret_cast<uint32>(ptr) == 0xcccccccc) return false;
|
||||
if (reinterpret_cast<uint32>(ptr) == 0xcdcdcdcd) return false;
|
||||
if (reinterpret_cast<uint32>(ptr) == 0xdddddddd) return false;
|
||||
if (reinterpret_cast<uint32>(ptr) == 0xffffffff) return false;
|
||||
if (reinterpret_cast<uintptr_t>(ptr) == 0xcccccccc) return false;
|
||||
if (reinterpret_cast<uintptr_t>(ptr) == 0xcdcdcdcd) return false;
|
||||
if (reinterpret_cast<uintptr_t>(ptr) == 0xdddddddd) return false;
|
||||
if (reinterpret_cast<uintptr_t>(ptr) == 0xffffffff) return false;
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
|
5
thirdparty/thekla_atlas/poshlib/posh.h
vendored
5
thirdparty/thekla_atlas/poshlib/posh.h
vendored
|
@ -498,6 +498,11 @@ Metrowerks:
|
|||
# define POSH_CPU_STRING "ARM"
|
||||
#endif
|
||||
|
||||
#if defined AARCH64 || defined __aarch64__ || defined _AARCH64
|
||||
# define POSH_CPU_STRONGARM 1
|
||||
# define POSH_CPU_STRING "AARCH64"
|
||||
#endif
|
||||
|
||||
#if defined mips || defined __mips__ || defined __MIPS__ || defined _MIPS
|
||||
# define POSH_CPU_MIPS 1
|
||||
# if defined _R5900
|
||||
|
|
Loading…
Reference in a new issue