VirtualBox

Changeset 107893 in vbox for trunk/include/VBox/vmm/gvm.h


Ignore:
Timestamp:
Jan 22, 2025 3:31:45 PM (5 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167114
Message:

VMM,VBox/types.h,VBox/err.h: Added VM target platform arch members to the VM structures (mostly for ring-0). Also added the structure sizes and svn revision to VMMR0_DO_GVMM_CREATE_VM. jiraref:VBP-1470

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/gvm.h

    r107113 r107893  
    6868    /** VCPU id (0 - (pVM->cCpus - 1). */
    6969    VMCPUID             idCpu;
    70     /** Padding. */
    71     uint32_t            uPadding0;
     70    /** The VM target platform architecture.
     71     * Same as GVM::enmTarget, VMCPU::enmTarget and VM::enmTarget.  */
     72    VMTARGET            enmTarget;
    7273
    7374    /** Handle to the EMT thread. */
     
    210211    PSUPDRVSESSION  pSession;
    211212    /** Number of Virtual CPUs, i.e. how many entries there are in aCpus.
    212      * Same same as VM::cCpus. */
     213     * Same as VM::cCpus. */
    213214    uint32_t        cCpus;
     215    /** The VM target platform architecture.
     216     * Same as VM::enmTarget. */
     217    VMTARGET        enmTarget;
    214218    /** Padding so gvmm starts on a 64 byte boundrary.   */
    215     uint8_t         abPadding[HC_ARCH_BITS == 32 ? 12 + 28 : 28];
     219    uint8_t         abPadding[HC_ARCH_BITS == 32 ? 12 + 24 : 24];
    216220
    217221    /** The GVMM per vm data. */
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