VirtualBox

Changeset 92626 in vbox for trunk/include


Ignore:
Timestamp:
Nov 29, 2021 12:32:58 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
148518
Message:

VMM: Nested VMX: bugref:10092 Adjust PGM APIs and translate nested-guest CR3 prior to mapping them when switching mode and other places.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r92493 r92626  
    651651/** Attemted illegal operation in simplified memory management mode. */
    652652#define VERR_PGM_NOT_SUPPORTED_FOR_NEM_MODE     (-1689)
     653/** CR3 second-level address translation failed. */
     654#define VERR_PGM_CR3_SLAT_FAILED                (-1690)
    653655/** @} */
    654656
  • trunk/include/VBox/vmm/pgm.h

    r92586 r92626  
    600600
    601601VMMDECL(int)        PGMInvalidatePage(PVMCPUCC pVCpu, RTGCPTR GCPtrPage);
    602 VMMDECL(int)        PGMFlushTLB(PVMCPUCC pVCpu, uint64_t cr3, bool fGlobal, bool fCr3Mapped);
     602VMMDECL(int)        PGMFlushTLB(PVMCPUCC pVCpu, uint64_t cr3, bool fGlobal);
    603603VMMDECL(int)        PGMSyncCR3(PVMCPUCC pVCpu, uint64_t cr0, uint64_t cr3, uint64_t cr4, bool fGlobal);
    604 VMMDECL(int)        PGMUpdateCR3(PVMCPUCC pVCpu, uint64_t cr3, bool fCr3Mapped);
     604VMMDECL(int)        PGMUpdateCR3(PVMCPUCC pVCpu, uint64_t cr3);
    605605VMMDECL(int)        PGMChangeMode(PVMCPUCC pVCpu, uint64_t cr0, uint64_t cr4, uint64_t efer, bool fForce);
    606606VMM_INT_DECL(int)   PGMHCChangeMode(PVMCC pVM, PVMCPUCC pVCpu, PGMMODE enmGuestMode);
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