Changeset 34521 in vbox for trunk/src/VBox/Additions/common/VBoxGuest
- Timestamp:
- Nov 30, 2010 2:35:40 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxGuest
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-freebsd.c
r32266 r34521 548 548 rc = VBoxGuestInitDevExt(&g_DevExt, pState->uIOPortBase, 549 549 pState->pMMIOBase, pState->VMMDevMemSize, 550 VBOXOSTYPE_FreeBSD, VMMDEV_EVENT_MOUSE_POSITION_CHANGED); 550 #if ARCH_BITS == 64 551 VBOXOSTYPE_FreeBSD_x64, 552 #else 553 VBOXOSTYPE_FreeBSD, 554 #endif 555 VMMDEV_EVENT_MOUSE_POSITION_CHANGED); 551 556 if (RT_SUCCESS(rc)) 552 557 { -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.c
r33109 r34521 306 306 * Call the common device extension initializer. 307 307 */ 308 rc = VBoxGuestInitDevExt(&g_DevExt, g_uIOPortBase, g_pMMIOBase, 309 g_cbMMIO, VBOXOSTYPE_Solaris, 308 rc = VBoxGuestInitDevExt(&g_DevExt, g_uIOPortBase, g_pMMIOBase, g_cbMMIO, 309 #if ARCH_BITS == 64 310 VBOXOSTYPE_Solaris_x64, 311 #else 312 VBOXOSTYPE_Solaris, 313 #endif 310 314 VMMDEV_EVENT_MOUSE_POSITION_CHANGED); 311 315 if (RT_SUCCESS(rc)) -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
r33540 r34521 1133 1133 VBOXOSTYPE vboxguestwinVersionToOSType(winVersion_t winVer) 1134 1134 { 1135 VBOXOSTYPE enmOsType; 1135 1136 switch (winVer) 1136 1137 { 1137 1138 case WINNT4: 1138 return VBOXOSTYPE_WinNT4; 1139 enmOsType = VBOXOSTYPE_WinNT4; 1140 break; 1139 1141 1140 1142 case WIN2K: 1141 return VBOXOSTYPE_Win2k; 1143 enmOsType = VBOXOSTYPE_Win2k; 1144 break; 1142 1145 1143 1146 case WINXP: 1144 return VBOXOSTYPE_WinXP; 1147 enmOsType = VBOXOSTYPE_WinXP; 1148 break; 1145 1149 1146 1150 case WIN2K3: 1147 return VBOXOSTYPE_Win2k3; 1151 enmOsType = VBOXOSTYPE_Win2k3; 1152 break; 1148 1153 1149 1154 case WINVISTA: 1150 return VBOXOSTYPE_WinVista; 1155 enmOsType = VBOXOSTYPE_WinVista; 1156 break; 1151 1157 1152 1158 case WIN7: 1153 return VBOXOSTYPE_Win7; 1159 enmOsType = VBOXOSTYPE_Win7; 1160 break; 1154 1161 1155 1162 default: 1163 /* We don't know, therefore NT family. */ 1164 enmOsType = VBOXOSTYPE_WinNT; 1156 1165 break; 1157 1166 } 1158 1159 /* We don't know, therefore NT family. */ 1160 return VBOXOSTYPE_WinNT; 1167 #if ARCH_BITS == 64 1168 enmOsType += VBOXOSTYPE_x64; 1169 #endif 1170 return enmOsType; 1161 1171 } 1162 1172
Note:
See TracChangeset
for help on using the changeset viewer.