Changeset 45737 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Apr 25, 2013 6:06:14 PM (12 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMSwitcher/LegacyandAMD64.mac
r41976 r45737 54 54 ; The C interface. 55 55 ; @param [esp + 04h] Param 1 - VM handle 56 ; @param [esp + 08h] Param 2 - VMCPU offset 56 ; @param [esp + 08h] Param 2 - Offset from VM::CPUM to the CPUMCPU 57 ; structure for the calling EMT. 57 58 ; 58 59 BEGINPROC vmmR0ToRawMode … … 72 73 73 74 push ebp 74 mov ebp, [esp + 12] ; VMCPU offset75 mov ebp, [esp + 12] ; CPUMCPU offset 75 76 76 77 ; turn off interrupts … … 133 134 ; INPUT: 134 135 ; - edx virtual address of CPUM structure (valid in host context) 135 ; - ebp offset of the CPUMCPU structure 136 ; - ebp offset of the CPUMCPU structure relative to CPUM. 136 137 ; 137 138 ; USES/DESTROYS: -
trunk/src/VBox/VMM/include/HMInternal.h
r45684 r45737 251 251 252 252 /** 253 * Switcher function, HC to RC.253 * Switcher function, HC to the special 64-bit RC. 254 254 * 255 255 * @param pVM Pointer to the VM. 256 * @param uOffsetVMCPU VMCPU offset from pVM256 * @param offCpumVCpu Offset from pVM->cpum to pVM->aCpus[idCpu].cpum. 257 257 * @returns Return code indicating the action to take. 258 258 */ 259 typedef DECLCALLBACK (int) FNHMSWITCHERHC(PVM pVM, uint32_t uOffsetVMCPU);259 typedef DECLCALLBACK(int) FNHMSWITCHERHC(PVM pVM, uint32_t offCpumVCpu); 260 260 /** Pointer to switcher function. */ 261 261 typedef FNHMSWITCHERHC *PFNHMSWITCHERHC; … … 315 315 #if HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS) && !defined(VBOX_WITH_HYBRID_32BIT_KERNEL) 316 316 /** 32 to 64 bits switcher entrypoint. */ 317 R0PTRTYPE(PFNHMSWITCHERHC) pfnHost32ToGuest64R0;317 R0PTRTYPE(PFNHMSWITCHERHC) pfnHost32ToGuest64R0; 318 318 319 319 /* AMD-V 64 bits vmrun handler */
Note:
See TracChangeset
for help on using the changeset viewer.