VirtualBox

Changeset 17303 in vbox for trunk/include


Ignore:
Timestamp:
Mar 3, 2009 4:53:01 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43672
Message:

Updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/hwaccm.h

    r17295 r17303  
    3434#include <VBox/types.h>
    3535#include <VBox/pgm.h>
     36#include <VBox/cpum.h>
    3637#include <iprt/mp.h>
    3738
     
    6566 */
    6667#define HWACCMIsEnabled(pVM)    ((pVM)->fHWACCMEnabled)
     68
     69 /**
     70 * Check if the current CPU state is valid for emulating IO blocks in the recompiler
     71 *
     72 * @returns boolean
     73 * @param   pCtx        CPU context
     74 */
     75#define HWACCMCanEmulateIoBlock(pCtx)    (!CPUMIsGuestInPagedProtectedModeEx(pCtx))
    6776
    6877VMMDECL(int)    HWACCMInvalidatePage(PVM pVM, RTGCPTR GCVirt);
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