Changeset 104065 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Mar 26, 2024 3:48:19 PM (10 months ago)
- Location:
- trunk/src/VBox/Devices/VMMDev
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VMMDev.cpp
r100852 r104065 4870 4870 "TestingCfgDword8|" 4871 4871 "TestingCfgDword9|" 4872 "TestingThresholdNativeRecompiler|" 4872 4873 "HGCMHeapBudgetDefault|" 4873 4874 "HGCMHeapBudgetLegacy|" … … 4969 4970 if (RT_FAILURE(rc)) 4970 4971 return PDMDevHlpVMSetError(pDevIns, rc, RT_SRC_POS, 4971 N_("Configuration error: Failed querying \"%s\" as a string"), szName); 4972 } 4972 N_("Configuration error: Failed querying \"%s\" as an 32-bit unsigned int"), szName); 4973 } 4974 4975 rc = pHlp->pfnCFGMQueryU16Def(pCfg, "TestingThresholdNativeRecompiler", &pThis->cTestingThresholdNativeRecompiler, 0); 4976 if (RT_FAILURE(rc)) 4977 return PDMDevHlpVMSetError(pDevIns, rc, RT_SRC_POS, 4978 N_("Configuration error: Failed querying \"TestingThresholdNativeRecompiler\" as an 16-bit unsigned int")); 4973 4979 4974 4980 -
trunk/src/VBox/Devices/VMMDev/VMMDevState.h
r100185 r104065 349 349 /** A 8-bit VMMDEV_TESTING_QUERY_CFG response. */ 350 350 uint8_t b; 351 /** A 16-bit VMMDEV_TESTING_QUERY_CFG response. */ 352 uint16_t u16; 351 353 /** A 32-bit VMMDEV_TESTING_QUERY_CFG response. */ 352 354 uint32_t u32; … … 398 400 /** User defined configuration dwords. */ 399 401 uint32_t au32TestingCfgDwords[10]; 402 /** VMMDEV_TESTING_CFG_THRESHOLD_NATIVE_RECOMPILER value. */ 403 uint16_t cTestingThresholdNativeRecompiler; 404 uint16_t au16Padding[3]; 400 405 #endif /* !VBOX_WITHOUT_TESTING_FEATURES || DOXYGEN_RUNNING */ 401 406 /** @} */ -
trunk/src/VBox/Devices/VMMDev/VMMDevTesting.cpp
r103262 r104065 652 652 break; 653 653 } 654 655 case VMMDEV_TESTING_CFG_THRESHOLD_NATIVE_RECOMPILER: 656 { 657 pThis->cbReadableTestingData = sizeof(pThis->TestingData.u16); 658 pThis->TestingData.u16 = pThis->cTestingThresholdNativeRecompiler; 659 break; 660 } 654 661 } 655 662 break;
Note:
See TracChangeset
for help on using the changeset viewer.