Changeset 86408 in vbox for trunk/src/VBox/Devices/PC/DevACPI.cpp
- Timestamp:
- Oct 2, 2020 8:24:37 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 140709
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevACPI.cpp
r86315 r86408 1421 1421 1422 1422 u32 >>= pThis->u8IndexShift; 1423 1424 /* If the index exceeds 31 (which is all we can fit within offset 0x80), we need to divide the index again 1425 for indices > 31 and < SYSTEM_INFO_INDEX_END. */ 1426 if (u32 > SYSTEM_INFO_INDEX_END && pThis->u8IndexShift == 2 && (u32 >> 2) < SYSTEM_INFO_INDEX_END) 1427 u32 >>= 2; 1428 1423 1429 AssertMsg(u32 < SYSTEM_INFO_INDEX_END, ("%u - Max=%u. IndexShift=%u\n", u32, SYSTEM_INFO_INDEX_END, pThis->u8IndexShift)); 1424 1430 pThis->uSystemInfoIndex = u32;
Note:
See TracChangeset
for help on using the changeset viewer.