VirtualBox

Changeset 49480 in vbox


Ignore:
Timestamp:
Nov 14, 2013 3:13:54 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
90632
Message:

Runtime, Devices, Disassembler R0: warnings.

Location:
trunk/src/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/SrvIntNetR0.cpp

    r48947 r49480  
    23802380static void intnetR0IfSnoopIPv6SourceAddr(PINTNETIF pIf, PCRTNETIPV6 pIpHdr, uint32_t cbPacket, bool fGso)
    23812381{
     2382    NOREF(fGso);
     2383
    23822384    /*
    23832385     * Check the header size first to prevent access invalid data.
     
    29372939static bool intnetR0NetworkDetectAndFixNdBroadcast(PINTNETNETWORK pNetwork, PINTNETSG pSG, PRTNETETHERHDR pEthHdr)
    29382940{
     2941    NOREF(pNetwork);
     2942
    29392943    if (RT_BE2H_U16(pEthHdr->EtherType) != RTNET_ETHERTYPE_IPV6)
    29402944        return false;
     
    29582962        pIPv6 = (PRTNETIPV6)bTmp;
    29592963    }
    2960 
    2961     PCRTNETNDP pNd  = (PCRTNETNDP) (pIPv6 + 1);
    29622964
    29632965    /* Check IPv6 destination address if it is a multicast address. */
     
    30023004static void intnetR0NetworkSnoopNAFromWire(PINTNETNETWORK pNetwork, PINTNETSG pSG, PRTNETETHERHDR pEthHdr)
    30033005{
     3006    NOREF(pEthHdr);
     3007
    30043008    /*
    30053009     * Check the minimum size and get a linear copy of the thing to work on,
  • trunk/src/VBox/Disassembler/DisasmCore.cpp

    r46949 r49480  
    227227{
    228228#ifdef IN_RING0
     229    NOREF(cbMinRead);
    229230    AssertMsgFailed(("disReadWord with no read callback in ring 0!!\n"));
    230231    RT_BZERO(&pDis->abInstr[offInstr], cbMaxRead);
     
    807808    NOREF(pOp); NOREF(pDis);
    808809
    809     unsigned mod     = pDis->ModRM.Bits.Mod;
    810 
    811810    unsigned type    = OP_PARM_VTYPE(pParam->fParam);
    812811    unsigned subtype = OP_PARM_VSUBTYPE(pParam->fParam);
     
    15631562static size_t ParseImmAddr(size_t offInstr, PCDISOPCODE pOp, PDISSTATE pDis, PDISOPPARAM pParam)
    15641563{
     1564    NOREF(pOp);
    15651565    if (pDis->uAddrMode == DISCPUMODE_32BIT)
    15661566    {
     
    16451645static size_t ParseImmAddrF(size_t offInstr, PCDISOPCODE pOp, PDISSTATE pDis, PDISOPPARAM pParam)
    16461646{
     1647    NOREF(pOp);
    16471648    // immediate far pointers - only 16:16 or 16:32; determined by operand, *not* address size!
    16481649    Assert(pDis->uOpMode == DISCPUMODE_16BIT || pDis->uOpMode == DISCPUMODE_32BIT);
     
    18821883static size_t ParseInvOpModRm(size_t offInstr, PCDISOPCODE pOp, PDISSTATE pDis, PDISOPPARAM pParam)
    18831884{
     1885    NOREF(pOp); NOREF(pDis); NOREF(pParam);
    18841886    /* This is used to avoid a bunch of special hacks to get the ModRM byte
    18851887       included when encountering invalid opcodes in groups. */
  • trunk/src/VBox/Runtime/testcase/tstRTR0Timer.cpp

    r48412 r49480  
    889889
    890890            RTR0TESTR0_CHECK_RC_BREAK(RTTimerStop(pTimer), VINF_SUCCESS);
    891             uint64_t    cNsElapsedX = RTTimeNanoTS() - uStartNsTS;
    892891
    893892            /*
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