VirtualBox

vbox的更動 11267 路徑 trunk/src/VBox/Devices/VMMDev


忽略:
時間撮記:
2008-8-8 下午04:15:43 (16 年 以前)
作者:
vboxsync
訊息:

Devices: PDMINS2DATA -> PDMINS_2_DATA.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp

    r11266 r11267  
    284284static DECLCALLBACK(int) vmmdevBackdoorLog(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb)
    285285{
    286     VMMDevState *pData = PDMINS2DATA(pDevIns, VMMDevState *);
     286    VMMDevState *pData = PDMINS_2_DATA(pDevIns, VMMDevState *);
    287287
    288288    if (!pData->fBackdoorLogDisabled && cb == 1 && Port == RTLOG_DEBUG_PORT)
     
    340340    if (cb == 4)
    341341    {
    342         VMMDevState *pData = PDMINS2DATA(pDevIns, VMMDevState *);
     342        VMMDevState *pData = PDMINS_2_DATA(pDevIns, VMMDevState *);
    343343        switch (u32)
    344344        {
     
    372372    if (cb == 4)
    373373    {
    374         VMMDevState *pData = PDMINS2DATA(pDevIns, VMMDevState *);
     374        VMMDevState *pData = PDMINS_2_DATA(pDevIns, VMMDevState *);
    375375        RTTIMESPEC now;
    376376
     
    19931993static DECLCALLBACK(int) vmmdevSaveState(PPDMDEVINS pDevIns, PSSMHANDLE pSSMHandle)
    19941994{
    1995     VMMDevState *pData = PDMINS2DATA(pDevIns, VMMDevState*);
     1995    VMMDevState *pData = PDMINS_2_DATA(pDevIns, VMMDevState*);
    19961996    SSMR3PutU32(pSSMHandle, pData->hypervisorSize);
    19971997    SSMR3PutU32(pSSMHandle, pData->mouseCapabilities);
     
    20312031{
    20322032    /** @todo The code load code is assuming we're always loaded into a fresh VM. */
    2033     VMMDevState *pData = PDMINS2DATA(pDevIns, VMMDevState*);
     2033    VMMDevState *pData = PDMINS_2_DATA(pDevIns, VMMDevState*);
    20342034    if (   SSM_VERSION_MAJOR_CHANGED(u32Version, VMMDEV_SSM_VERSION)
    20352035        || (SSM_VERSION_MINOR(u32Version) < 6))
     
    21062106static DECLCALLBACK(int) vmmdevLoadStateDone(PPDMDEVINS pDevIns, PSSMHANDLE pSSMHandle)
    21072107{
    2108     VMMDevState *pData = PDMINS2DATA(pDevIns, VMMDevState*);
     2108    VMMDevState *pData = PDMINS_2_DATA(pDevIns, VMMDevState*);
    21092109
    21102110#ifdef VBOX_HGCM
     
    21452145{
    21462146    int rc;
    2147     VMMDevState *pData = PDMINS2DATA(pDevIns, VMMDevState *);
     2147    VMMDevState *pData = PDMINS_2_DATA(pDevIns, VMMDevState *);
    21482148
    21492149    Assert(iInstance == 0);
     
    23322332static DECLCALLBACK(void) vmmdevReset(PPDMDEVINS pDevIns)
    23332333{
    2334     VMMDevState *pData = PDMINS2DATA(pDevIns, VMMDevState*);
     2334    VMMDevState *pData = PDMINS_2_DATA(pDevIns, VMMDevState*);
    23352335
    23362336    /*
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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