VirtualBox

Changeset 41729 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jun 14, 2012 11:24:17 PM (13 years ago)
Author:
vboxsync
Message:

DISQueryParamVal: renamed related types and constants and reduced the param structure by 8-12 bytes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r41692 r41729  
    29192919static int hmR0svmInterpretInvlPg(PVMCPU pVCpu, PDISCPUSTATE pCpu, PCPUMCTXCORE pRegFrame, uint32_t uASID)
    29202920{
    2921     OP_PARAMVAL param1;
     2921    DISQPVPARAMVAL param1;
    29222922    RTGCPTR     addr;
    29232923    NOREF(uASID);
    29242924
    2925     int rc = DISQueryParamVal(pRegFrame, pCpu, &pCpu->param1, &param1, PARAM_SOURCE);
    2926     if(RT_FAILURE(rc))
     2925    int rc = DISQueryParamVal(pRegFrame, pCpu, &pCpu->param1, &param1, DISQPVWHICH_SRC);
     2926    if (RT_FAILURE(rc))
    29272927        return VERR_EM_INTERPRETER;
    29282928
    2929     switch(param1.type)
    2930     {
    2931         case PARMTYPE_IMMEDIATE:
    2932         case PARMTYPE_ADDRESS:
    2933             if(!(param1.flags & (PARAM_VAL32|PARAM_VAL64)))
     2929    switch (param1.type)
     2930    {
     2931        case DISQPV_TYPE_IMMEDIATE:
     2932        case DISQPV_TYPE_ADDRESS:
     2933            if (!(param1.flags & (DISQPV_FLAG_32 | DISQPV_FLAG_64)))
    29342934                return VERR_EM_INTERPRETER;
    29352935            addr = param1.val.val64;
Note: See TracChangeset for help on using the changeset viewer.

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