VirtualBox

Changeset 11254 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 8, 2008 2:13:50 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
34332
Message:

DevPcArch: cosmetics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevPcArch.c

    r11253 r11254  
    227227static DECLCALLBACK(int)  pcarchConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfgHandle)
    228228{
    229     PDEVPCARCH  pData = PDMINS2DATA(pDevIns, PDEVPCARCH);
     229    PDEVPCARCH  pThis = PDMINS_2_DATA(pDevIns, PDEVPCARCH);
    230230    int         rc;
    231231    Assert(iInstance == 0);
     
    240240     * Init the data.
    241241     */
    242     pData->pDevIns = pDevIns;
     242    pThis->pDevIns = pDevIns;
    243243
    244244    /*
     
    246246     */
    247247    rc = PDMDevHlpIOPortRegister(pDevIns, 0xF0, 0x10, NULL, pcarchIOPortFPUWrite, pcarchIOPortFPURead, NULL, NULL, "Math Co-Processor (DOS/OS2 mode)");
    248     if (VBOX_FAILURE(rc))
     248    if (RT_FAILURE(rc))
    249249        return rc;
    250250    rc = PDMDevHlpIOPortRegister(pDevIns, 0x92, 1, NULL, pcarchIOPortPS2SysControlPortAWrite, pcarchIOPortPS2SysControlPortARead, NULL, NULL, "PS/2 system control port A (A20 and more)");
    251     if (VBOX_FAILURE(rc))
     251    if (RT_FAILURE(rc))
    252252        return rc;
    253253
     
    259259     */
    260260    rc = PDMDevHlpPhysReserve(pDevIns, 0x000a0000, 0x50000, "Low ROM Region");
    261     if (VBOX_FAILURE(rc))
     261    if (RT_FAILURE(rc))
    262262        return rc;
    263263    rc = PDMDevHlpPhysReserve(pDevIns, 0xfff80000, 0x80000, "High ROM Region");
    264     if (VBOX_FAILURE(rc))
     264    if (RT_FAILURE(rc))
    265265        return rc;
    266266
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