VirtualBox

Changeset 107029 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Nov 18, 2024 2:57:10 PM (2 months ago)
Author:
vboxsync
Message:

VMM/DBGFR3Bp: Fix breakpoint owner allocation for the driverless case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/DBGFR3Bp.cpp

    r106362 r107029  
    473473                /* Driverless: Do dbgfR0BpOwnerInitWorker here, ring-3 style. */
    474474                uint32_t const cbBpOwnerR3 = RT_ALIGN_32(DBGF_BP_OWNER_COUNT_MAX * sizeof(DBGFBPOWNERINT), HOST_PAGE_SIZE);
    475                 pUVM->dbgf.s.paBpLocPortIoR3 = (uint32_t *)RTMemPageAllocZ(cbBpOwnerR3);
    476                 if (pUVM->dbgf.s.paBpLocPortIoR3)
     475                pUVM->dbgf.s.paBpOwnersR3 = (PDBGFBPOWNERINT)RTMemPageAllocZ(cbBpOwnerR3);
     476                if (pUVM->dbgf.s.paBpOwnersR3)
    477477                    return VINF_SUCCESS;
    478478                AssertLogRelMsgFailed(("cbBpOwnerR3=%#x\n", cbBpOwnerR3));
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