Changeset 19360 in vbox for trunk/include/VBox
- Timestamp:
- May 5, 2009 10:14:15 AM (16 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/gvm.h
r8155 r19360 36 36 #include <iprt/thread.h> 37 37 38 /** @defgroup grp_gvm GVMCPU - The Global VMCPU Data 39 * @{ 40 */ 41 42 typedef struct GVMCPU 43 { 44 /* VCPU id (0 - (pVM->cCPUs - 1) */ 45 uint32_t idCpu; 46 47 /** The GVMM per vcpu data. */ 48 struct 49 { 50 #ifdef ___GVMMR0Internal_h 51 struct GVMMPERVCPU s; 52 #endif 53 uint8_t padding[64]; 54 } gvmm; 55 } GVMCPU; 56 /** Pointer to the GVMCPU data. */ 57 typedef GVMCPU *PGVMCPU; 58 59 /** @} */ 38 60 39 61 /** @defgroup grp_gvm GVM - The Global VM Data … … 60 82 /** The ring-0 mapping of the VM structure. */ 61 83 PVM pVM; 84 /** Number of VCPUs (same as pVM->cCPUs) */ 85 uint32_t cCPUs; 86 uint32_t padding; 62 87 63 88 /** The GVMM per vm data. */ … … 79 104 } gmm; 80 105 106 /** GVMCPU array for the configured number of virtual CPUs. */ 107 GVMCPU aCpus[1]; 81 108 } GVM; 82 109 -
trunk/include/VBox/gvmm.h
r14811 r19360 135 135 GVMMR0DECL(PVM) GVMMR0GetVMByHandle(uint32_t hGVM); 136 136 GVMMR0DECL(PVM) GVMMR0GetVMByEMT(RTNATIVETHREAD hEMT); 137 GVMMR0DECL(int) GVMMR0SchedHalt(PVM pVM, u int64_t u64ExpireGipTime);138 GVMMR0DECL(int) GVMMR0SchedWakeUp(PVM pVM );137 GVMMR0DECL(int) GVMMR0SchedHalt(PVM pVM, unsigned idCpu, uint64_t u64ExpireGipTime); 138 GVMMR0DECL(int) GVMMR0SchedWakeUp(PVM pVM, unsigned idCpu); 139 139 GVMMR0DECL(int) GVMMR0SchedPoll(PVM pVM, bool fYield); 140 140 GVMMR0DECL(int) GVMMR0QueryStatistics(PGVMMSTATS pStats, PSUPDRVSESSION pSession, PVM pVM);
Note:
See TracChangeset
for help on using the changeset viewer.