VirtualBox

Ignore:
Timestamp:
Jul 29, 2016 11:04:35 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109246
Message:

ValidationKit/utils: warnings.

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  
    4343
    4444#ifdef RT_OS_WINDOWS
    45 # include <Windows.h>
     45# include <iprt/win/windows.h>
    4646#else
    4747# define USE_SIGNALS
     
    566566                                                 uint32_t fFlags)
    567567{
     568    RT_NOREF_PV(pThis);
    568569    static uint8_t const s_afBufProtToDefaultMemProt[] =
    569570    {
     
    673674static bool CidetAppArmBuf(PCIDETAPP pThis, PCIDETAPPBUF pAppBuf)
    674675{
     676    RT_NOREF_PV(pThis);
    675677    uint8_t *pbUsingBuf = (pAppBuf->fUsingNormal ? pAppBuf->pbNormal : pAppBuf->pbLow);
    676678    if (pAppBuf->fLastPageProt == pAppBuf->fDefaultProt)
     
    693695static bool CidetAppDearmBuf(PCIDETAPP pThis, PCIDETAPPBUF pAppBuf)
    694696{
     697    RT_NOREF_PV(pThis);
    695698    uint8_t *pbUsingBuf = (pAppBuf->fUsingNormal ? pAppBuf->pbNormal : pAppBuf->pbLow);
    696699    int rc = RTMemProtect(pbUsingBuf, pAppBuf->cb, pAppBuf->fDefaultProt | RTMEM_PROT_READ | RTMEM_PROT_WRITE);
     
    11061109static DECLCALLBACK(void) CidetAppCbFailureV(PCIDETCORE pThis, const char *pszMsg, va_list va)
    11071110{
     1111    RT_NOREF_PV(pThis);
    11081112    RTTestIFailedV(pszMsg, va);
    11091113}
  • trunk/src/VBox/ValidationKit/utils/cpu/cidet-core.cpp

    r62484 r62673  
    319319bool CidetCoreIsEncodingCompatibleWithInstruction(PCIDETCORE pThis)
    320320{
     321    RT_NOREF_PV(pThis);
    321322    return true;
    322323}
     
    727728static void cidetCoreSetupFirstBaseEncoding_MrmRmMod_32bit64bit(PCIDETCORE pThis, uint8_t iReg, bool f64Bit)
    728729{
     730    RT_NOREF_PV(f64Bit);
    729731    if (CidetInstrHasMrmRegOperand(pThis->pCurInstr))
    730732    {
     
    10721074static bool cidetCoreSetupNextBaseEncoding_SibScale(PCIDETCORE pThis, uint8_t iReg)
    10731075{
     1076    RT_NOREF_PV(iReg);
    10741077    switch ((pThis->bSib >> X86_SIB_SCALE_SHIFT) & X86_SIB_SCALE_SMASK)
    10751078    {
     
    13201323bool CidetCoreSetupNextMemoryOperandConfig(PCIDETCORE pThis)
    13211324{
     1325    RT_NOREF_PV(pThis);
    13221326    return false;
    13231327}
     
    13721376bool CidetCoreSetupNextCodeBufferConfig(PCIDETCORE pThis)
    13731377{
     1378    RT_NOREF_PV(pThis);
    13741379    return false;
    13751380}
     
    19111916     * The opcode.
    19121917     */
    1913     uint8_t const *pbOpcode = pThis->pCurInstr->abOpcode;
     1918    //uint8_t const *pbOpcode = pThis->pCurInstr->abOpcode;
    19141919    switch (pThis->pCurInstr->cbOpcode)
    19151920    {
     
    19321937        if (pThis->idxMrmRmOp < RT_ELEMENTS(pThis->aOperands))
    19331938        {
    1934             uint64_t uDispValue = pThis->aOperands[pThis->idxMrmRmOp].uImmDispValue;
     1939            //uint64_t uDispValue = pThis->aOperands[pThis->idxMrmRmOp].uImmDispValue;
    19351940            switch (pThis->aOperands[pThis->idxMrmRmOp].cbMemDisp)
    19361941            {
     
    19581963        if ((pThis->aOperands[iOp].fFlags & CIDET_OF_K_MASK) == CIDET_OF_K_IMM)
    19591964        {
    1960             uint64_t uImmValue = pThis->aOperands[iOp].uImmDispValue;
     1965            //uint64_t uImmValue = pThis->aOperands[iOp].uImmDispValue;
    19611966            switch (pThis->aOperands[iOp].cb)
    19621967            {
     
    21662171        CIDET_DPRINTF(("%04u: %s", iSubTest, szInstr));
    21672172        Assert(cbInstr == pThis->cbInstr);
     2173#else
     2174        RT_NOREF_PV(iSubTest);
    21682175#endif
    21692176        if (pThis->pfnSetupCodeBuf(pThis, &pThis->CodeBuf, pThis->abInstr))
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette