VirtualBox

Changeset 88258 in vbox for trunk/src/VBox/Devices/Bus


Ignore:
Timestamp:
Mar 23, 2021 10:58:51 AM (4 years ago)
Author:
vboxsync
Message:

Intel IOMMU: bugref:9967 WIP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevIommuIntel.cpp

    r88257 r88258  
    427427{
    428428    uint16_t const offLast = offReg + cbReg - 1;
    429 
    430429    AssertCompile(VTD_MMIO_GROUP_0_OFF_FIRST == 0);
    431     AssertMsg(   offLast < VTD_MMIO_GROUP_0_OFF_END
    432               || offLast - VTD_MMIO_GROUP_1_OFF_FIRST < VTD_MMIO_GROUP_1_SIZE, ("off=%#x cb=%u\n", offReg, cbReg));
    433     NOREF(cbReg);
     430    AssertMsg(VTD_IS_MMIO_OFF_VALID(offLast), ("off=%#x cb=%u\n", offReg, cbReg));
    434431
    435432    uint8_t *apbRegs[] = { &pThis->abRegs0[0], &pThis->abRegs1[0] };
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette