VirtualBox

Changeset 10410 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jul 9, 2008 12:23:26 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33067
Message:

Introduced VM_FF_REM_HANDLER_NOTIFY action flag to replay the handler notifications whenever possible in ring 3. This will
save some unnecessary context switches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/REMAll.cpp

    r10357 r10410  
    102102    pRec->u.PhysicalRegister.cb = cb;
    103103    pRec->u.PhysicalRegister.fHasHCHandler = fHasHCHandler;
     104    VM_FF_SET(pVM, VM_FF_REM_HANDLER_NOTIFY);
    104105}
    105106
     
    126127    pRec->u.PhysicalDeregister.fHasHCHandler = fHasHCHandler;
    127128    pRec->u.PhysicalDeregister.fRestoreAsRAM = fRestoreAsRAM;
     129    VM_FF_SET(pVM, VM_FF_REM_HANDLER_NOTIFY);
    128130}
    129131
     
    152154    pRec->u.PhysicalModify.fHasHCHandler = fHasHCHandler;
    153155    pRec->u.PhysicalModify.fRestoreAsRAM = fRestoreAsRAM;
     156    VM_FF_SET(pVM, VM_FF_REM_HANDLER_NOTIFY);
    154157}
    155158
Note: See TracChangeset for help on using the changeset viewer.

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