VirtualBox

Changeset 2850 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
May 24, 2007 5:38:19 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
21498
Message:

Fixed leftover VBOX_WITH_VIRTUAL_SYNC_TIMERS #ifdefs.

File:
1 edited

Legend:

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

    r2781 r2850  
    827827     * Create timers, arm them, register I/O Ports and save state.
    828828     */
    829 #ifdef VBOX_WITH_VIRTUAL_SYNC_TIMERS
    830829    rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL_SYNC, rtcTimerPeriodic, "MC146818 RTC/CMOS - Periodic", &pData->pPeriodicTimerHC);
    831 #else
    832     rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL, rtcTimerPeriodic, "MC146818 RTC/CMOS - Periodic", &pData->pPeriodicTimerHC);
    833 #endif
    834830    if (VBOX_FAILURE(rc))
    835831    {
     
    837833        return rc;
    838834    }
    839 #ifdef VBOX_WITH_VIRTUAL_SYNC_TIMERS
    840835    rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL_SYNC, rtcTimerSecond, "MC146818 RTC/CMOS - Second", &pData->pSecondTimerHC);
    841 #else
    842     rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL, rtcTimerSecond, "MC146818 RTC/CMOS - Second", &pData->pSecondTimerHC);
    843 #endif
    844836    if (VBOX_FAILURE(rc))
    845837    {
     
    847839        return rc;
    848840    }
    849 #ifdef VBOX_WITH_VIRTUAL_SYNC_TIMERS
    850841    rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL_SYNC, rtcTimerSecond2, "MC146818 RTC/CMOS - Second2", &pData->pSecondTimer2HC);
    851 #else
    852     rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL, rtcTimerSecond2, "MC146818 RTC/CMOS - Second2", &pData->pSecondTimer2HC);
    853 #endif
    854842    if (VBOX_FAILURE(rc))
    855843    {
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