VirtualBox

Changeset 11292 in vbox


Ignore:
Timestamp:
Aug 8, 2008 10:43:58 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
34385
Message:

pdm: Retired PDM_SRC_POS.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pdm.h

    r8155 r11292  
    4141#include <VBox/pdmsrv.h>
    4242
    43 /** Source position.
    44  * @deprecated Use RT_SRC_POS */
    45 #define PDM_SRC_POS         RT_SRC_POS
    46 
    47 /** Source position declaration.
    48  * @deprecated Use RT_SRC_POS_DECL */
    49 #define PDM_SRC_POS_DECL    RT_SRC_POS_DECL
    50 
    51 /** Source position arguments.
    52  * @deprecated Use RT_SRC_POS_ARGS */
    53 #define PDM_SRC_POS_ARGS    RT_SRC_POS_ARGS
    54 
    5543#endif
    5644
  • trunk/src/VBox/Devices/PC/DevPcArch.c

    r11254 r11292  
    6464    int rc;
    6565    NOREF(pvUser); NOREF(pDevIns); NOREF(pu32);
    66     rc = PDMDeviceDBGFStop(pDevIns, PDM_SRC_POS, "Port=%#x cb=%d\n", Port, cb);
     66    rc = PDMDeviceDBGFStop(pDevIns, RT_SRC_POS, "Port=%#x cb=%d\n", Port, cb);
    6767    if (rc == VINF_SUCCESS)
    6868        rc = VERR_IOM_IOPORT_UNUSED;
     
    9898#if 0
    9999                if (!u32)
    100                     rc = PDMDeviceDBGFStop(pDevIns, PDM_SRC_POS, "Port=%#x cb=%d u32=%#x\n", Port, cb, u32);
     100                    rc = PDMDeviceDBGFStop(pDevIns, RT_SRC_POS, "Port=%#x cb=%d u32=%#x\n", Port, cb, u32);
    101101#endif
    102102                /* pDevIns->pDevHlp->pfnPICSetIrq(pDevIns, 13, 0); */
     
    115115            case 0xfc:
    116116            default:
    117                 rc = PDMDeviceDBGFStop(pDevIns, PDM_SRC_POS, "Port=%#x cb=%d u32=%#x\n", Port, cb, u32);
     117                rc = PDMDeviceDBGFStop(pDevIns, RT_SRC_POS, "Port=%#x cb=%d u32=%#x\n", Port, cb, u32);
    118118                break;
    119119        }
     
    122122    }
    123123    else
    124         rc = PDMDeviceDBGFStop(pDevIns, PDM_SRC_POS, "Port=%#x cb=%d u32=%#x\n", Port, cb, u32);
     124        rc = PDMDeviceDBGFStop(pDevIns, RT_SRC_POS, "Port=%#x cb=%d u32=%#x\n", Port, cb, u32);
    125125    return rc;
    126126}
     
    175175        return VINF_SUCCESS;
    176176    }
    177     return PDMDeviceDBGFStop(pDevIns, PDM_SRC_POS, "Port=%#x cb=%d\n", Port, cb);
     177    return PDMDeviceDBGFStop(pDevIns, RT_SRC_POS, "Port=%#x cb=%d\n", Port, cb);
    178178}
    179179
     
    208208        return VINF_SUCCESS;
    209209    }
    210     return PDMDeviceDBGFStop(pDevIns, PDM_SRC_POS, "Port=%#x cb=%d u32=%#x\n", Port, cb, u32);
     210    return PDMDeviceDBGFStop(pDevIns, RT_SRC_POS, "Port=%#x cb=%d u32=%#x\n", Port, cb, u32);
    211211}
    212212
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