Changeset 2850 in vbox for trunk/src/VBox/Devices
- Timestamp:
- May 24, 2007 5:38:19 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 21498
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevRTC.cpp
r2781 r2850 827 827 * Create timers, arm them, register I/O Ports and save state. 828 828 */ 829 #ifdef VBOX_WITH_VIRTUAL_SYNC_TIMERS830 829 rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL_SYNC, rtcTimerPeriodic, "MC146818 RTC/CMOS - Periodic", &pData->pPeriodicTimerHC); 831 #else832 rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL, rtcTimerPeriodic, "MC146818 RTC/CMOS - Periodic", &pData->pPeriodicTimerHC);833 #endif834 830 if (VBOX_FAILURE(rc)) 835 831 { … … 837 833 return rc; 838 834 } 839 #ifdef VBOX_WITH_VIRTUAL_SYNC_TIMERS840 835 rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL_SYNC, rtcTimerSecond, "MC146818 RTC/CMOS - Second", &pData->pSecondTimerHC); 841 #else842 rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL, rtcTimerSecond, "MC146818 RTC/CMOS - Second", &pData->pSecondTimerHC);843 #endif844 836 if (VBOX_FAILURE(rc)) 845 837 { … … 847 839 return rc; 848 840 } 849 #ifdef VBOX_WITH_VIRTUAL_SYNC_TIMERS850 841 rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL_SYNC, rtcTimerSecond2, "MC146818 RTC/CMOS - Second2", &pData->pSecondTimer2HC); 851 #else852 rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL, rtcTimerSecond2, "MC146818 RTC/CMOS - Second2", &pData->pSecondTimer2HC);853 #endif854 842 if (VBOX_FAILURE(rc)) 855 843 {
Note:
See TracChangeset
for help on using the changeset viewer.