VirtualBox

Changeset 75611 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Nov 20, 2018 11:20:25 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126785
Message:

VMM: Nested VMX: bugref:9180 Move the VMX APIC-access guest-physical page registration into IEM and got rid of the CPUM all context code that does not quite fit because we still have to declare the prototypes in the HM headers anyway, so just keep it in HM all context code for now.

Location:
trunk/src/VBox/VMM/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/CPUMInternal.h

    r75493 r75611  
    410410    /** The host MXCSR mask (determined at init). */
    411411    uint32_t                fHostMxCsrMask;
    412 
    413     /** The VMX APIC-access page handler type. */
    414     PGMPHYSHANDLERTYPE      hVmxApicAccessPage;
    415     uint8_t                 abPadding1[16];
     412    uint8_t                 abPadding1[20];
    416413
    417414    /** Host CPU feature information.
     
    423420    /** Guest CPU info. */
    424421    CPUMINFO                GuestInfo;
    425 
    426422
    427423    /** The standard set of CpuId leaves. */
     
    531527PCPUMCPUIDLEAF      cpumCpuIdGetLeaf(PVM pVM, uint32_t uLeaf);
    532528PCPUMCPUIDLEAF      cpumCpuIdGetLeafEx(PVM pVM, uint32_t uLeaf, uint32_t uSubLeaf, bool *pfExactSubLeafHit);
    533 # ifdef VBOX_WITH_NESTED_HWVIRT_VMX
    534 PGM_ALL_CB2_PROTO(FNPGMPHYSHANDLER) cpumVmxApicAccessPageHandler;
    535 # endif
    536529
    537530# ifdef IN_RING3
  • trunk/src/VBox/VMM/include/IEMInternal.h

    r73555 r75611  
    2121#include <VBox/vmm/cpum.h>
    2222#include <VBox/vmm/iem.h>
     23#include <VBox/vmm/pgm.h>
    2324#include <VBox/vmm/stam.h>
    2425#include <VBox/param.h>
     
    558559    /** The CR2 for the current exception / interrupt. */
    559560    uint64_t                uCurXcptCr2;
     561    /** The VMX APIC-access page handler type. */
     562    PGMPHYSHANDLERTYPE      hVmxApicAccessPage;
    560563
    561564    /** @name Statistics
     
    582585    /** Number of long jumps. */
    583586    uint32_t                cLongJumps;
    584     uint32_t                uAlignment6; /**< Alignment padding. */
    585587    /** @} */
    586588
     
    928930} IEMACCESSCRX;
    929931
     932# ifdef VBOX_WITH_NESTED_HWVIRT_VMX
     933PGM_ALL_CB2_PROTO(FNPGMPHYSHANDLER) iemVmxApicAccessPageHandler;
     934# endif
    930935
    931936/**
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