Changeset 82338 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Dec 3, 2019 10:45:02 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 135162
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevHPET.cpp
r82329 r82338 1434 1434 1435 1435 /* Init the HPET timers (init all regardless of how many we expose). */ 1436 static const char * const s_apszTimerNames[] = 1437 { "HPET Timer 0", "HPET Timer 1", "HPET Timer 2", "HPET Timer 3" }; 1438 AssertCompile(RT_ELEMENTS(pThis->aTimers) == RT_ELEMENTS(s_apszTimerNames)); 1436 1439 for (unsigned i = 0; i < RT_ELEMENTS(pThis->aTimers); i++) 1437 1440 { … … 1439 1442 1440 1443 rc = PDMDevHlpTimerCreate(pDevIns, TMCLOCK_VIRTUAL_SYNC, hpetR3Timer, pHpetTimer, 1441 TMTIMER_FLAGS_NO_CRIT_SECT, "HPET Timer", &pThis->aTimers[i].hTimer);1444 TMTIMER_FLAGS_NO_CRIT_SECT, s_apszTimerNames[i], &pThis->aTimers[i].hTimer); 1442 1445 AssertRCReturn(rc, rc); 1443 1446 /** @todo r=bird: This is TOTALLY MESSED UP! Why do we need
Note:
See TracChangeset
for help on using the changeset viewer.