Changeset 104066 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Timestamp:
- Mar 26, 2024 4:06:07 PM (14 months ago)
- svn:sync-xref-src-repo-rev:
- 162459
- Location:
- trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-TestData.c
r103262 r104066 85 85 uint16_t g_usBs3TestStep; 86 86 87 /** The host configurable BS3_THRESHOLD_NATIVE_RECOMPILER value. */ 88 uint16_t g_cBs3ThresholdNativeRecompiler = BS3_THRESHOLD_NATIVE_RECOMPILER; 89 90 87 91 /** VMMDEV_TESTING_UNIT_XXX -> string */ 88 92 char const g_aszBs3TestUnitNames[][12] = -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-TestInit.c
r98103 r104066 41 41 #include "bs3kit-template-header.h" 42 42 #include "bs3-cmn-test.h" 43 #include <iprt/asm-amd64-x86.h> 43 44 44 45 … … 63 64 g_cusBs3SubTestsFailed = 0; 64 65 g_fbBs3VMMDevTesting = bs3TestIsVmmDevTestingPresent(); 66 if (g_fbBs3VMMDevTesting) 67 { 68 uint16_t uValue; 69 #if ARCH_BITS == 16 70 ASMOutU16(VMMDEV_TESTING_IOPORT_CMD, (uint16_t)VMMDEV_TESTING_CMD_QUERY_CFG); 71 #else 72 ASMOutU32(VMMDEV_TESTING_IOPORT_CMD, VMMDEV_TESTING_CMD_QUERY_CFG); 73 #endif 74 ASMOutU16(VMMDEV_TESTING_IOPORT_DATA, VMMDEV_TESTING_CFG_THRESHOLD_NATIVE_RECOMPILER); 75 uValue = ASMInU16(VMMDEV_TESTING_IOPORT_DATA); 76 Bs3TestPrintf("VMMDEV_TESTING_CFG_THRESHOLD_NATIVE_RECOMPILER=%RU16\n", uValue); 77 if (uValue > 0 && uValue < 1024) 78 g_cBs3ThresholdNativeRecompiler = uValue; 79 } 65 80 66 81 /* -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h
r103867 r104066 195 195 * 196 196 * @{ */ 197 198 /** Test repetitions necessary to make sure of engaging native recompilation.199 * @note See iemTbCacheLookup() for the actual constant. */200 #define BS3_THRESHOLD_NATIVE_RECOMPILER 18201 197 202 198 … … 3617 3613 extern uint16_t g_usBs3TestStep; 3618 3614 3615 /** Test repetitions necessary to make sure of engaging native recompilation. 3616 * @note See iemTbCacheLookup() for the actual constant. */ 3617 #define BS3_THRESHOLD_NATIVE_RECOMPILER 18 3618 3619 /** The host configurable BS3_THRESHOLD_NATIVE_RECOMPILER value. 3620 * The host configuration is read by Bs3TestInit, before that it has the same 3621 * value as the compiletime constant. */ 3622 extern uint16_t g_cBs3ThresholdNativeRecompiler; 3623 3619 3624 /** 3620 3625 * Equivalent to RTTestCreate + RTTestBanner.
Note:
See TracChangeset
for help on using the changeset viewer.