- Timestamp:
- Apr 11, 2024 9:11:31 AM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevLpc.cpp
r98103 r104289 118 118 { 119 119 PLPCSTATE pThis = PDMDEVINS_2_DATA(pDevIns, PLPCSTATE); 120 RT_NOREF(pvUser, pv); 121 122 if (cb == 4) 123 { 124 if (off == LPC_REG_GCS) 125 Log(("lpcMmioWrite: Ignorning write to GCS: %.*Rhxs\n", cb, pv)); 126 else 127 Log(("lpcMmioWrite: Ignorning write to unknown register %#RGp: %.*Rhxs\n", off, cb, pv)); 128 } 120 RT_NOREF(pvUser, pv, cb); 121 Assert(cb == 4); Assert(!(off & 3)); /* IOMMMIO_FLAGS_WRITE_DWORD_xxx should make sure of this */ 122 123 if (off == LPC_REG_GCS) 124 Log(("lpcMmioWrite: Ignorning write to GCS: %.*Rhxs\n", cb, pv)); 129 125 else 130 Log(("lpcMmioWrite: WARNING! Ignoring non-DWORD write to off=%#RGp: %.*Rhxs\n", off, cb, pv));126 Log(("lpcMmioWrite: Ignorning write to unknown register %#RGp: %.*Rhxs\n", off, cb, pv)); 131 127 132 128 STAM_REL_COUNTER_INC(&pThis->StatMmioWrites); … … 358 354 * mentioned above we just want this working. */ 359 355 rc = PDMDevHlpMmioCreateAndMap(pDevIns, pThis->GCPhys32Rcba, 0x4000, lpcMmioWrite, lpcMmioRead, 360 IOMMMIO_FLAGS_READ_DWORD | IOMMMIO_FLAGS_WRITE_ PASSTHRU,356 IOMMMIO_FLAGS_READ_DWORD | IOMMMIO_FLAGS_WRITE_DWORD_ZEROED, 361 357 "LPC Memory", &pThis->hMmio); 362 358 AssertRCReturn(rc, rc);
Note:
See TracChangeset
for help on using the changeset viewer.