Changeset 62673 in vbox for trunk/src/VBox/ValidationKit/utils/cpu
- Timestamp:
- Jul 29, 2016 11:04:35 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 109246
- Location:
- trunk/src/VBox/ValidationKit/utils/cpu
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/cpu/cidet-app.cpp
r62484 r62673 43 43 44 44 #ifdef RT_OS_WINDOWS 45 # include < Windows.h>45 # include <iprt/win/windows.h> 46 46 #else 47 47 # define USE_SIGNALS … … 566 566 uint32_t fFlags) 567 567 { 568 RT_NOREF_PV(pThis); 568 569 static uint8_t const s_afBufProtToDefaultMemProt[] = 569 570 { … … 673 674 static bool CidetAppArmBuf(PCIDETAPP pThis, PCIDETAPPBUF pAppBuf) 674 675 { 676 RT_NOREF_PV(pThis); 675 677 uint8_t *pbUsingBuf = (pAppBuf->fUsingNormal ? pAppBuf->pbNormal : pAppBuf->pbLow); 676 678 if (pAppBuf->fLastPageProt == pAppBuf->fDefaultProt) … … 693 695 static bool CidetAppDearmBuf(PCIDETAPP pThis, PCIDETAPPBUF pAppBuf) 694 696 { 697 RT_NOREF_PV(pThis); 695 698 uint8_t *pbUsingBuf = (pAppBuf->fUsingNormal ? pAppBuf->pbNormal : pAppBuf->pbLow); 696 699 int rc = RTMemProtect(pbUsingBuf, pAppBuf->cb, pAppBuf->fDefaultProt | RTMEM_PROT_READ | RTMEM_PROT_WRITE); … … 1106 1109 static DECLCALLBACK(void) CidetAppCbFailureV(PCIDETCORE pThis, const char *pszMsg, va_list va) 1107 1110 { 1111 RT_NOREF_PV(pThis); 1108 1112 RTTestIFailedV(pszMsg, va); 1109 1113 } -
trunk/src/VBox/ValidationKit/utils/cpu/cidet-core.cpp
r62484 r62673 319 319 bool CidetCoreIsEncodingCompatibleWithInstruction(PCIDETCORE pThis) 320 320 { 321 RT_NOREF_PV(pThis); 321 322 return true; 322 323 } … … 727 728 static void cidetCoreSetupFirstBaseEncoding_MrmRmMod_32bit64bit(PCIDETCORE pThis, uint8_t iReg, bool f64Bit) 728 729 { 730 RT_NOREF_PV(f64Bit); 729 731 if (CidetInstrHasMrmRegOperand(pThis->pCurInstr)) 730 732 { … … 1072 1074 static bool cidetCoreSetupNextBaseEncoding_SibScale(PCIDETCORE pThis, uint8_t iReg) 1073 1075 { 1076 RT_NOREF_PV(iReg); 1074 1077 switch ((pThis->bSib >> X86_SIB_SCALE_SHIFT) & X86_SIB_SCALE_SMASK) 1075 1078 { … … 1320 1323 bool CidetCoreSetupNextMemoryOperandConfig(PCIDETCORE pThis) 1321 1324 { 1325 RT_NOREF_PV(pThis); 1322 1326 return false; 1323 1327 } … … 1372 1376 bool CidetCoreSetupNextCodeBufferConfig(PCIDETCORE pThis) 1373 1377 { 1378 RT_NOREF_PV(pThis); 1374 1379 return false; 1375 1380 } … … 1911 1916 * The opcode. 1912 1917 */ 1913 uint8_t const *pbOpcode = pThis->pCurInstr->abOpcode;1918 //uint8_t const *pbOpcode = pThis->pCurInstr->abOpcode; 1914 1919 switch (pThis->pCurInstr->cbOpcode) 1915 1920 { … … 1932 1937 if (pThis->idxMrmRmOp < RT_ELEMENTS(pThis->aOperands)) 1933 1938 { 1934 uint64_t uDispValue = pThis->aOperands[pThis->idxMrmRmOp].uImmDispValue;1939 //uint64_t uDispValue = pThis->aOperands[pThis->idxMrmRmOp].uImmDispValue; 1935 1940 switch (pThis->aOperands[pThis->idxMrmRmOp].cbMemDisp) 1936 1941 { … … 1958 1963 if ((pThis->aOperands[iOp].fFlags & CIDET_OF_K_MASK) == CIDET_OF_K_IMM) 1959 1964 { 1960 uint64_t uImmValue = pThis->aOperands[iOp].uImmDispValue;1965 //uint64_t uImmValue = pThis->aOperands[iOp].uImmDispValue; 1961 1966 switch (pThis->aOperands[iOp].cb) 1962 1967 { … … 2166 2171 CIDET_DPRINTF(("%04u: %s", iSubTest, szInstr)); 2167 2172 Assert(cbInstr == pThis->cbInstr); 2173 #else 2174 RT_NOREF_PV(iSubTest); 2168 2175 #endif 2169 2176 if (pThis->pfnSetupCodeBuf(pThis, &pThis->CodeBuf, pThis->abInstr))
Note:
See TracChangeset
for help on using the changeset viewer.