VirtualBox

Changeset 72769 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jun 29, 2018 11:10:00 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123310
Message:

VMM/HM: Avoid some CPUMQueryGuestCtxPtr calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMR0.cpp

    r72767 r72769  
    2121*********************************************************************************************************************************/
    2222#define LOG_GROUP LOG_GROUP_HM
     23#define VMCPU_INCL_CPUM_GST_CTX
    2324#include <VBox/vmm/hm.h>
    2425#include <VBox/vmm/pgm.h>
     
    15531554#endif
    15541555
    1555     VBOXSTRICTRC rcStrict = g_HmR0.pfnRunGuestCode(pVM, pVCpu, CPUMQueryGuestCtxPtr(pVCpu));
     1556    VBOXSTRICTRC rcStrict = g_HmR0.pfnRunGuestCode(pVM, pVCpu, &pVCpu->cpum.GstCtx);
    15561557
    15571558#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE
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