VirtualBox

Changeset 80643 in vbox


Ignore:
Timestamp:
Sep 6, 2019 8:11:26 PM (5 years ago)
Author:
vboxsync
Message:

DevRTC: Enabled new style code. bugref:9218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevRTC.cpp

    r80531 r80643  
    129129};
    130130
    131 #if 0 /* new / old style device selector */
     131#if 1 /* new / old style device selector */
    132132
    133133typedef struct RTCSTATE
     
    12051205     * Register I/O ports.
    12061206     */
    1207     rc = PDMDevHlpIoPortCreateAndMap(pDevIns, pThis->IOPortBase, 4, rtcIOPortWrite, rtcIOPortRead, NULL /*pvUser*/,
     1207    rc = PDMDevHlpIoPortCreateAndMap(pDevIns, pThis->IOPortBase, 4, rtcIOPortWrite, rtcIOPortRead,
    12081208                                     "MC146818 RTC/CMOS", &pThis->hIoPorts);
    12091209    AssertRCReturn(rc, rc);
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