Changeset 71776 in vbox for trunk/src/VBox
- Timestamp:
- Apr 9, 2018 2:58:05 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/DevSmc.cpp
r69500 r71776 1288 1288 PDEVSMC pThis = PDMINS_2_DATA(pDevIns, PDEVSMC); 1289 1289 uint32_t uReg = Port - SMC_PORT_FIRST; 1290 AssertReturn(uReg < RT_ELEMENTS(g_aSmcRegs), VERR_INTERNAL_ERROR_3); /* impossible*/ 1290 1291 int rc = g_aSmcRegs[uReg].pfnWrite(pThis, uReg, u32); 1291 1292 … … 1331 1332 */ 1332 1333 uint32_t uReg = Port - SMC_PORT_FIRST; 1334 AssertReturn(uReg < RT_ELEMENTS(g_aSmcRegs), VERR_INTERNAL_ERROR_3); /* impossible*/ 1333 1335 Log2(("smcIoPortRead: %#04x read access: LB %u\n", uReg, cb)); 1334 1336 uint8_t bValue = 0xff;
Note:
See TracChangeset
for help on using the changeset viewer.