VirtualBox

Changeset 19808 in vbox for trunk/include


Ignore:
Timestamp:
May 19, 2009 9:23:34 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
47455
Message:

Invalidate is per VCPU.

File:
1 edited

Legend:

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

    r19679 r19808  
    7676#define HWACCMCanEmulateIoBlockEx(pCtx)    (!CPUMIsGuestInPagedProtectedModeEx(pCtx))
    7777
    78 VMMDECL(int)    HWACCMInvalidatePage(PVM pVM, RTGCPTR GCVirt);
     78VMMDECL(int)    HWACCMInvalidatePage(PVMCPU pVCpu, RTGCPTR GCVirt);
    7979VMMDECL(bool)   HWACCMHasPendingIrq(PVM pVM);
    8080
    8181#ifndef IN_RC
    82 VMMDECL(int)     HWACCMFlushTLB(PVM pVM);
    83 VMMDECL(int)     HWACCMInvalidatePhysPage(PVM pVM, RTGCPHYS GCPhys);
     82VMMDECL(int)     HWACCMFlushTLB(PVMCPU pVCpu);
     83VMMDECL(int)     HWACCMInvalidatePhysPage(PVMCPU pVCpu, RTGCPHYS GCPhys);
    8484VMMDECL(bool)    HWACCMIsNestedPagingActive(PVM pVM);
    8585VMMDECL(PGMMODE) HWACCMGetShwPagingMode(PVM pVM);
    8686#else
    8787/* Nop in GC */
    88 # define HWACCMFlushTLB(pVM)                    do { } while (0)
     88# define HWACCMFlushTLB(pVCpu)                  do { } while (0)
    8989# define HWACCMIsNestedPagingActive(pVM)        false
    9090#endif
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