VirtualBox

Changeset 93788 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 16, 2022 11:37:25 AM (3 years ago)
Author:
vboxsync
Message:

VMM/{NEM*,DBGF}: Make NEM respond to debug event changes and implement the logic for the darwin backend, bugref:9044 [build fix attempt]

Location:
trunk/src/VBox/VMM/VMMR3
Files:
2 edited

Legend:

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

    r93787 r93788  
    474474    AssertLogRelReturnVoid(VM_IS_NEM_ENABLED(pVM));
    475475
     476#ifdef VBOX_WITH_NATIVE_NEM
    476477    /* Interrupts. */
    477478    bool fUseDebugLoop = pVM->dbgf.ro.cSoftIntBreakpoints > 0
     
    492493    /* Done. */
    493494    pVM->nem.s.fUseDebugLoop = nemR3NativeNotifyDebugEventChanged(pVM, fUseDebugLoop);
     495#else
     496    RT_NOREF(pVM);
     497#endif
    494498}
    495499
     
    508512    AssertLogRelReturnVoid(VM_IS_NEM_ENABLED(pVM));
    509513
     514#ifdef VBOX_WITH_NATIVE_NEM
    510515    pVCpu->nem.s.fUseDebugLoop = nemR3NativeNotifyDebugEventChangedPerCpu(pVM, pVCpu,
    511516                                                                          pVCpu->nem.s.fSingleInstruction | pVM->nem.s.fUseDebugLoop);
    512 }
     517#else
     518    RT_NOREF(pVM, pVCpu);
     519#endif
     520}
  • trunk/src/VBox/VMM/VMMR3/NEMR3Native-win.cpp

    r93787 r93788  
    16941694
    16951695
    1696 DECLHIDDEN(bool) nemR3NativeNotifyDebugEventChanged(PVM pVM, bool fUseDebugLoop);
     1696DECLHIDDEN(bool) nemR3NativeNotifyDebugEventChanged(PVM pVM, bool fUseDebugLoop)
    16971697{
    16981698    RT_NOREF(pVM, fUseDebugLoop);
     
    17011701
    17021702
    1703 DECLHIDDEN(bool) nemR3NativeNotifyDebugEventChangedPerCpu(PVM pVM, PVMCPU pVCpu, bool fUseDebugLoop);
     1703DECLHIDDEN(bool) nemR3NativeNotifyDebugEventChangedPerCpu(PVM pVM, PVMCPU pVCpu, bool fUseDebugLoop)
    17041704{
    17051705    RT_NOREF(pVM, pVCpu, fUseDebugLoop);
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