Changeset 7471 in vbox for trunk/src/VBox/VMM/VMMR0/HWVMXR0.h
- Timestamp:
- Mar 17, 2008 10:50:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.h
r5999 r7471 1 1 /* $Id$ */ 2 2 /** @file 3 * HWACCM SVM- Internal header file.3 * HWACCM VT-x - Internal header file. 4 4 */ 5 5 … … 39 39 40 40 /** 41 * En able VMX41 * Enters the VT-x session 42 42 * 43 43 * @returns VBox status code. 44 44 * @param pVM The VM to operate on. 45 45 */ 46 HWACCMR0DECL(int) VMXR0En able(PVM pVM);46 HWACCMR0DECL(int) VMXR0Enter(PVM pVM); 47 47 48 48 /** 49 * Disable VMX49 * Leaves the VT-x session 50 50 * 51 51 * @returns VBox status code. 52 52 * @param pVM The VM to operate on. 53 53 */ 54 HWACCMR0DECL(int) VMXR0Disable(PVM pVM); 54 HWACCMR0DECL(int) VMXR0Leave(PVM pVM); 55 55 56 56 57 /** 57 * Sets up and activates VMX 58 * Sets up and activates VT-x on the current CPU 59 * 60 * @returns VBox status code. 61 * @param idCpu The identifier for the CPU the function is called on. 62 * @param pVM The VM to operate on. 63 * @param pvPageCpu Pointer to the global cpu page 64 * @param pPageCpuPhys Physical address of the global cpu page 65 */ 66 HWACCMR0DECL(int) VMXR0EnableCpu(RTCPUID idCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys); 67 68 /** 69 * Deactivates VT-x on the current CPU 70 * 71 * @returns VBox status code. 72 * @param idCpu The identifier for the CPU the function is called on. 73 * @param pvPageCpu Pointer to the global cpu page 74 * @param pPageCpuPhys Physical address of the global cpu page 75 */ 76 HWACCMR0DECL(int) VMXR0DisableCpu(RTCPUID idCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys); 77 78 /** 79 * Sets up VT-x for the specified VM 58 80 * 59 81 * @returns VBox status code. 60 82 * @param pVM The VM to operate on. 61 83 */ 62 HWACCMR0DECL(int) VMXR0Setup (PVM pVM);84 HWACCMR0DECL(int) VMXR0SetupVM(PVM pVM); 63 85 64 86 … … 82 104 83 105 /** 84 * Runs guest code in a V MXVM.106 * Runs guest code in a VT-x VM. 85 107 * 86 108 * @note NEVER EVER turn on interrupts here. Due to our illegal entry into the kernel, it might mess things up. (XP kernel traps have been frequently observed)
Note:
See TracChangeset
for help on using the changeset viewer.