- Timestamp:
- Apr 10, 2013 12:24:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r45453 r45455 441 441 * 442 442 * @returns VBox status code. 443 * @param pVCpu Pointer to the VMCPU. 443 * @param pVCpu Pointer to the VMCPU. 444 444 * @param pVmxTransient Pointer to the VMX transient structure. 445 445 * … … 459 459 * 460 460 * @returns VBox status code. 461 * @param pVCpu Pointer to the VMCPU. 461 * @param pVCpu Pointer to the VMCPU. 462 462 * @param pVmxTransient Pointer to the VMX transient structure. 463 463 */ … … 479 479 * 480 480 * @returns VBox status code. 481 * @param pVCpu Pointer to the VMCPU. 481 * @param pVCpu Pointer to the VMCPU. 482 482 * @param pVmxTransient Pointer to the VMX transient structure. 483 483 */ … … 498 498 * transient structure. 499 499 * 500 * @returns VBox status code. 501 * @param pVCpu Pointer to the VMCPU. 500 * @returns VBox status code. 501 * @param pVCpu Pointer to the VMCPU. 502 502 * @param pVmxTransient Pointer to the VMX transient structure. 503 503 */ … … 517 517 * Reads the exit qualification from the VMCS into the VMX transient structure. 518 518 * 519 * @returns VBox status code. 520 * @param pVCpu Pointer to the VMCPU. 519 * @returns VBox status code. 520 * @param pVCpu Pointer to the VMCPU. 521 521 * @param pVmxTransient Pointer to the VMX transient structure. 522 522 */ … … 558 558 * transient structure. 559 559 * 560 * @returns VBox status code. 560 * @returns VBox status code. 561 561 * @param pVmxTransient Pointer to the VMX transient structure. 562 562 */ … … 2324 2324 * @returns VBox status code. 2325 2325 * @param pVM Pointer to the VM. 2326 * @param pVCpu Pointer to the VMCPU. 2326 * @param pVCpu Pointer to the VMCPU. 2327 2327 * @param pMixedCtx Pointer to the guest-CPU context. The data may be 2328 2328 * out-of-sync. Make sure to update the required fields 2329 2329 * before using them. 2330 * 2330 * 2331 2331 * @remarks requires EFER. 2332 2332 */ … … 4431 4431 /** 4432 4432 * Loads the VMCS write-cache into the CPU (by executing VMWRITEs). 4433 * 4434 * @param pVCpu Pointer to the VMCPU. 4433 * 4434 * @param pVCpu Pointer to the VMCPU. 4435 4435 * @param pCache Pointer to the VMCS cache. 4436 * 4436 * 4437 4437 * @remarks No-long-jump zone!!! 4438 4438 */ … … 4452 4452 * Stores the VMCS read-cache from the CPU (by executing VMREADs). 4453 4453 * 4454 * @param pVCpu Pointer to the VMCPU. 4454 * @param pVCpu Pointer to the VMCPU. 4455 4455 * @param pCache Pointer to the VMCS cache. 4456 * 4456 * 4457 4457 * @remarks No-long-jump zone!!! 4458 4458 */ … … 5161 5161 * context. 5162 5162 * 5163 * @returns VBox status code. 5164 * @param pVCpu Pointer to the VMCPU. 5163 * @returns VBox status code. 5164 * @param pVCpu Pointer to the VMCPU. 5165 5165 * @param idxSel Index of the selector in the VMCS. 5166 5166 * @param idxLimit Index of the segment limit in the VMCS. … … 5169 5169 * @param pSelReg Pointer to the segment selector. 5170 5170 * 5171 * @remarks No-long-jump zone!!! 5171 * @remarks No-long-jump zone!!! 5172 5172 * @remarks Never call this function directly. Use the VMXLOCAL_READ_SEG() macro 5173 5173 * as that takes care of whether to read from the VMCS cache or not. … … 5224 5224 #define VMXLOCAL_READ_SEG(Sel, CtxSel) \ 5225 5225 hmR0VmxReadSegmentReg(pVCpu, VMX_VMCS16_GUEST_FIELD_##Sel, VMX_VMCS32_GUEST_##Sel##_LIMIT, \ 5226 VMX_VMCS_GUEST_##Sel##_BASE_CACHE_IDX, VMX_VMCS32_GUEST_##Sel##_ACCESS_RIGHTS, &pMixedCtx-> ##CtxSel)5226 VMX_VMCS_GUEST_##Sel##_BASE_CACHE_IDX, VMX_VMCS32_GUEST_##Sel##_ACCESS_RIGHTS, &pMixedCtx->CtxSel) 5227 5227 #else 5228 #define VMXLOCAL_READ_SEG(Sel, Val) \5228 #define VMXLOCAL_READ_SEG(Sel, CtxSel) \ 5229 5229 hmR0VmxReadSegmentReg(pVCpu, VMX_VMCS16_GUEST_FIELD_##Sel, VMX_VMCS32_GUEST_##Sel##_LIMIT, \ 5230 VMX_VMCS_GUEST_##Sel##_BASE, VMX_VMCS32_GUEST_##Sel##_ACCESS_RIGHTS, &pMixedCtx-> ##CtxSel)5230 VMX_VMCS_GUEST_##Sel##_BASE, VMX_VMCS32_GUEST_##Sel##_ACCESS_RIGHTS, &pMixedCtx->CtxSel) 5231 5231 #endif 5232 5232
Note:
See TracChangeset
for help on using the changeset viewer.