- Timestamp:
- Mar 13, 2023 11:40:51 AM (23 months ago)
- Location:
- trunk/src/VBox/ValidationKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/common/utils.py
r98648 r98929 188 188 if sArch != 'amd64': 189 189 sArch = 'x86'; 190 elif sArch in ('arm64', 'ARM64', 'aarch64') 191 sArch = 'arm64'; 190 192 else: 191 193 raise Exception('Unsupported architecture/machine "%s"' % (sArch,)); … … 216 218 """ 217 219 if sArch in ('x86', 'amd64', 'sparc32', 'sparc64', 's390', 's390x', 'ppc32', 'ppc64', \ 218 'mips32', 'mips64', 'ia64', 'hppa32', 'hppa64', 'arm', 'a lpha'):220 'mips32', 'mips64', 'ia64', 'hppa32', 'hppa64', 'arm', 'arm64', 'alpha'): 219 221 return True; 220 222 return False; -
trunk/src/VBox/ValidationKit/testboxscript/TestBoxHelper.cpp
r98103 r98929 56 56 # include <iprt/x86.h> 57 57 # include <iprt/asm-amd64-x86.h> 58 #elif defined(RT_ARCH_ARM) || defined(RT_ARCH_ARM64) 59 # include <iprt/asm-arm.h> 58 60 #endif 59 61 … … 671 673 return cch > 0 ? RTEXITCODE_SUCCESS : RTEXITCODE_FAILURE; 672 674 } 675 #elif defined(RT_ARCH_ARM) || defined(RT_ARCH_ARM64) 676 /** @todo There is no way to access MIDR_EL1 from userspace except for parsing the various 677 * OS dependent ways (/proc/cpuinfo, sysctl, ...). Just fake it for now to get it running. */ 678 int cch = RTPrintf("%#x\n", 1); 679 return cch > 0 ? RTEXITCODE_SUCCESS : RTEXITCODE_FAILURE; 673 680 #endif 674 681 return RTEXITCODE_FAILURE;
Note:
See TracChangeset
for help on using the changeset viewer.