Changeset 92193 in vbox for trunk/src/VBox
- Timestamp:
- Nov 3, 2021 2:46:30 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 148022
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevPcArch.cpp
r92192 r92193 189 189 } 190 190 return PDMDevHlpDBGFStop(pDevIns, RT_SRC_POS, "Port=%#x cb=%d u32=%#x\n", offPort, cb, u32); 191 }192 193 194 /**195 * @callback_method_impl{FNIOMMMIONEWWRITE, Ignores writes to the reserved memory.}196 * @note off is an absolute address.197 */198 static DECLCALLBACK(VBOXSTRICTRC)199 pcarchReservedMemoryWrite(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS off, void const *pv, unsigned cb)200 {201 Log2(("pcarchReservedMemoryRead: %#RGp LB %#x %.*Rhxs\n", off, cb, RT_MIN(cb, 16), pv));202 RT_NOREF(pDevIns, pvUser, off, pv, cb);203 return VINF_SUCCESS;204 }205 206 207 /**208 * @callback_method_impl{FNIOMMMIONEWREAD, The reserved memory reads as 0xff.}209 * @note off is an absolute address.210 */211 static DECLCALLBACK(VBOXSTRICTRC)212 pcarchReservedMemoryRead(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS off, void *pv, unsigned cb)213 {214 Log2(("pcarchReservedMemoryRead: %#RGp LB %#x\n", off, cb));215 RT_NOREF(pDevIns, pvUser, off);216 memset(pv, 0xff, cb);217 return VINF_SUCCESS;218 191 } 219 192
Note:
See TracChangeset
for help on using the changeset viewer.