VirtualBox

Changeset 96740 in vbox for trunk


Ignore:
Timestamp:
Sep 14, 2022 12:26:44 PM (2 years ago)
Author:
vboxsync
Message:

VMM/PGM: Nested VMX: bugref:10092 pfnEnter and pfnExit are not ring-3 only, pulled function signatures out of IN_RING3 block.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllGst.h

    r96739 r96740  
    3131*********************************************************************************************************************************/
    3232RT_C_DECLS_BEGIN
     33/** @todo Do we really need any of these forward declarations? */
    3334#if PGM_GST_TYPE == PGM_TYPE_32BIT \
    3435 || PGM_GST_TYPE == PGM_TYPE_PAE \
     
    3637DECLINLINE(int) PGM_GST_NAME(Walk)(PVMCPUCC pVCpu, RTGCPTR GCPtr, PPGMPTWALK pWalk, PGSTPTWALK pGstWalk);
    3738#endif
     39PGM_GST_DECL(int,  Enter)(PVMCPUCC pVCpu, RTGCPHYS GCPhysCR3);
    3840PGM_GST_DECL(int,  GetPage)(PVMCPUCC pVCpu, RTGCPTR GCPtr, PPGMPTWALK pWalk);
    3941PGM_GST_DECL(int,  ModifyPage)(PVMCPUCC pVCpu, RTGCPTR GCPtr, size_t cb, uint64_t fFlags, uint64_t fMask);
     42PGM_GST_DECL(int,  Exit)(PVMCPUCC pVCpu);
    4043
    4144#ifdef IN_RING3 /* r3 only for now.  */
    42 PGM_GST_DECL(int, Enter)(PVMCPUCC pVCpu, RTGCPHYS GCPhysCR3);
    4345PGM_GST_DECL(int, Relocate)(PVMCPUCC pVCpu, RTGCPTR offDelta);
    44 PGM_GST_DECL(int, Exit)(PVMCPUCC pVCpu);
    4546#endif
    4647RT_C_DECLS_END
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