Changeset 80679 in vbox for trunk/src/VBox/Devices/PC
- Timestamp:
- Sep 9, 2019 6:26:59 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevRTC.cpp
r80672 r80679 1204 1204 * Register I/O ports. 1205 1205 */ 1206 static const IOMIOPORTDESC g_aIoPortDescs[] = 1207 { 1208 { NULL, "ADDR - CMOS Bank #1", NULL, NULL }, 1209 { "DATA - CMOS Bank #1", "DATA - CMOS Bank #1", NULL, NULL }, 1210 { NULL, "ADDR - CMOS Bank #2", NULL, NULL }, 1211 { "DATA - CMOS Bank #2", "DATA - CMOS Bank #2", NULL, NULL }, 1212 { NULL, NULL, NULL, NULL } 1213 }; 1206 1214 rc = PDMDevHlpIoPortCreateAndMap(pDevIns, pThis->IOPortBase, 4, rtcIOPortWrite, rtcIOPortRead, 1207 "MC146818 RTC/CMOS", &pThis->hIoPorts);1215 "MC146818 RTC/CMOS", g_aIoPortDescs, &pThis->hIoPorts); 1208 1216 AssertRCReturn(rc, rc); 1209 1217
Note:
See TracChangeset
for help on using the changeset viewer.