Changeset 37505 in vbox
- Timestamp:
- Jun 16, 2011 4:37:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevHPET.cpp
r37504 r37505 526 526 HpetTimer *pHpetTimer = &pThis->aTimers[iTimerNo]; 527 527 528 /** @todo iOldValue is only used by in HPET_TN_CFG, so this is a waste of529 * time. */530 uint32_t u32Temp;531 int rc = hpetTimerRegRead32(pThis, iTimerNo, iTimerReg, &u32Temp);532 if (RT_FAILURE(rc))533 return rc;534 uint64_t iOldValue = u32Temp;535 536 528 switch (iTimerReg) 537 529 { … … 539 531 { 540 532 Log(("write HPET_TN_CFG: %d: %x\n", iTimerNo, u32NewValue)); 533 uint64_t const iOldValue = (uint32_t)pHpetTimer->u64Config; 541 534 542 535 uint64_t u64Mask = HPET_TN_CFG_WRITE_MASK;
Note:
See TracChangeset
for help on using the changeset viewer.