- Timestamp:
- Nov 7, 2008 4:17:59 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 39009
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm.h
r13898 r13972 113 113 VMCPUID VMMGetCpuId(PVM pVM); 114 114 PVMCPU VMMGetCpu(PVM pVM); 115 VMMDECL(PVMCPU) VMMGetCpuEx(PVM pVM, RTCPUID idCpu); 115 116 VMMDECL(uint32_t) VMMGetSvnRev(void); 116 117 -
trunk/src/VBox/VMM/VMMAll/VMMAll.cpp
r13898 r13972 97 97 98 98 /** 99 * Returns the VMCPU of the specified virtual CPU. 100 * 101 * @returns The VMCPU pointer. 102 * @param pVM The VM to operate on. 103 */ 104 VMMDECL(PVMCPU) VMMGetCpuEx(PVM pVM, RTCPUID idCpu) 105 { 106 AssertReturn(idCpu < pVM->cCPUs, NULL); 107 return &pVM->aCpus[idCpu]; 108 } 109 110 /** 99 111 * Gets the VBOX_SVN_REV. 100 112 *
Note:
See TracChangeset
for help on using the changeset viewer.