VirtualBox

Changeset 107893 in vbox for trunk/include/VBox/vmm/gvmm.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/gvmm.h

    r106061 r107893  
    219219GVMMR0DECL(int)     GVMMR0QueryConfig(PSUPDRVSESSION pSession, const char *pszName, uint64_t *pu64Value);
    220220
    221 GVMMR0DECL(int)     GVMMR0CreateVM(PSUPDRVSESSION pSession, uint32_t cCpus, PVMCC *ppVM);
     221GVMMR0DECL(int)     GVMMR0CreateVM(PSUPDRVSESSION pSession, VMTARGET enmTarget, uint32_t cCpus, PVMCC *ppVM);
    222222GVMMR0DECL(int)     GVMMR0InitVM(PGVM pGVM);
    223223GVMMR0DECL(void)    GVMMR0DoneInitVM(PGVM pGVM);
     
    262262    /** The support driver session. (IN) */
    263263    PSUPDRVSESSION  pSession;
     264    /** The VM's target arch.   */
     265    VMTARGET        enmTarget;
    264266    /** Number of virtual CPUs for the new VM. (IN) */
    265267    uint32_t        cCpus;
     268    /** Size of the VM structure. (IN) */
     269    uint32_t        cbVM;
     270    /** Size of the VMCPU structure. (IN) */
     271    uint32_t        cbVCpu;
     272    /** Structure version number (TBD). (IN) */
     273    uint32_t        uStructVersion;
     274    /** SVN revision. (IN) */
     275    uint32_t        uSvnRevision;
    266276    /** Pointer to the ring-3 mapping of the shared VM structure on return. (OUT) */
    267277    PVMR3           pVMR3;
     
    348358
    349359#ifdef IN_RING3
    350 VMMR3_INT_DECL(int)  GVMMR3CreateVM(PUVM pUVM, uint32_t cCpus, PSUPDRVSESSION pSession, PVM *ppVM, PRTR0PTR ppVMR0);
     360VMMR3_INT_DECL(int)  GVMMR3CreateVM(PUVM pUVM, VMTARGET enmTarget, uint32_t cCpus, PSUPDRVSESSION pSession,
     361                                    PVM *ppVM, PRTR0PTR ppVMR0);
    351362VMMR3_INT_DECL(int)  GVMMR3DestroyVM(PUVM pUVM, PVM pVM);
    352363VMMR3_INT_DECL(int)  GVMMR3RegisterVCpu(PVM pVM, VMCPUID idCpu);
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