Changeset 34879 in vbox for trunk/src/VBox
- Timestamp:
- Dec 9, 2010 11:42:16 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevHPET.cpp
r33662 r34879 706 706 uint32_t iIndex = (uint32_t)(GCPhysAddr - HPET_BASE); 707 707 708 LogFlow(("hpetMMIORead : %llx (%x)\n", (uint64_t)GCPhysAddr, iIndex));708 LogFlow(("hpetMMIORead (%d): %llx (%x)\n", cb, (uint64_t)GCPhysAddr, iIndex)); 709 709 710 710 rc = hpetLock(pThis, VINF_IOM_HC_MMIO_READ); … … 738 738 { 739 739 AssertMsgFailed(("Unaligned HPET read access\n")); 740 rc = V ERR_INTERNAL_ERROR;740 rc = VINF_SUCCESS; 741 741 break; 742 742 } … … 784 784 uint32_t iIndex = (uint32_t)(GCPhysAddr - HPET_BASE); 785 785 786 LogFlow(("hpetMMIOWrite : %llx (%x) <- %x\n",787 (uint64_t)GCPhysAddr, iIndex, *(uint32_t*)pv));786 LogFlow(("hpetMMIOWrite (%d): %llx (%x) <- %x\n", 787 cb, (uint64_t)GCPhysAddr, iIndex, cb >= 4 ? *(uint32_t*)pv : 0xdeadbeef)); 788 788 789 789 rc = hpetLock(pThis, VINF_IOM_HC_MMIO_WRITE); … … 796 796 case 2: 797 797 Log(("Narrow write: %d\n", cb)); 798 rc = V ERR_INTERNAL_ERROR;798 rc = VINF_SUCCESS; 799 799 break; 800 800 case 4: … … 820 820 { 821 821 AssertMsgFailed(("Unaligned HPET write access\n")); 822 rc = V ERR_INTERNAL_ERROR;822 rc = VINF_SUCCESS; 823 823 break; 824 824 } … … 1213 1213 1214 1214 /* Query configuration. */ 1215 #if 11216 1215 rc = CFGMR3QueryBoolDef(pCfg, "GCEnabled", &fRCEnabled, true); 1217 1216 if (RT_FAILURE(rc)) … … 1223 1222 return PDMDEV_SET_ERROR(pDevIns, rc, 1224 1223 N_("Configuration error: failed to read R0Enabled as boolean")); 1225 #endif1226 1224 /* Initialize the device state */ 1227 1225 rc = hpetInit(pDevIns);
Note:
See TracChangeset
for help on using the changeset viewer.