Changeset 50994 in vbox
- Timestamp:
- Apr 8, 2014 12:30:50 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/gim.h
r50953 r50994 44 44 /** None. */ 45 45 GIMPROVIDER_NONE = 0, 46 /** Minimal. */ 47 GIMPROVIDER_MINIMAL, 46 48 /** Microsoft Hyper-V. */ 47 49 GIMPROVIDER_HYPERV, -
trunk/src/VBox/VMM/Makefile.kmk
r50953 r50994 149 149 VMMR3/GIM.cpp \ 150 150 VMMR3/GIMHv.cpp \ 151 VMMR3/GIMMinimal.cpp \ 151 152 VMMR3/IEMR3.cpp \ 152 153 VMMR3/IOM.cpp \ -
trunk/src/VBox/VMM/VMMR3/GIM.cpp
r50961 r50994 56 56 57 57 /* Include all GIM providers. */ 58 #include "GIMMinimalInternal.h" 58 59 #include "GIMHvInternal.h" 59 60 … … 116 117 { 117 118 pVM->gim.s.fEnabled = true; 118 if (!RTStrCmp(szProvider, "HyperV")) 119 if (!RTStrCmp(szProvider, "Minimal")) 120 { 121 pVM->gim.s.enmProvider = GIMPROVIDER_MINIMAL; 122 rc = GIMR3MinimalInit(pVM); 123 } 124 else if (!RTStrCmp(szProvider, "HyperV")) 119 125 { 120 126 pVM->gim.s.enmProvider = GIMPROVIDER_HYPERV; … … 134 140 135 141 /** 136 * Applies relocations to data and code managed by this 137 * component. This function will be called at init and138 * whenever the VMM need to relocate it self insidethe GC.142 * Applies relocations to data and code managed by this component. This function 143 * will be called at init and whenever the VMM need to relocate itself inside 144 * the GC. 139 145 * 140 146 * @param pVM Pointer to the VM. … … 153 159 switch (pVM->gim.s.enmProvider) 154 160 { 161 case GIMPROVIDER_MINIMAL: 162 { 163 GIMR3MinimalRelocate(pVM, offDelta); 164 break; 165 } 166 155 167 case GIMPROVIDER_HYPERV: 156 168 { -
trunk/src/VBox/VMM/include/GIMInternal.h
r50953 r50994 53 53 struct 54 54 { 55 } minimal; 56 57 struct 58 { 55 59 /** Hypervisor system identity - Minor version number. */ 56 60 uint16_t uVersionMinor; … … 66 70 } hv; 67 71 68 struct 69 { 70 } kvm; 72 /** @todo KVM and others. */ 71 73 } u; 72 74 } GIM;
Note:
See TracChangeset
for help on using the changeset viewer.