Changeset 75600 in vbox for trunk/src/VBox
- Timestamp:
- Nov 19, 2018 9:15:16 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 126770
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibInit.cpp
r75588 r75600 82 82 * values and fails if they are unavailable. 83 83 */ 84 static voidvbglR0QueryDriverInfo(void)84 static int vbglR0QueryDriverInfo(void) 85 85 { 86 86 # ifdef VBGLDATA_USE_FAST_MUTEX … … 129 129 # endif 130 130 } 131 return rc; 131 132 } 132 133 #endif /* !VBGL_VBOXGUEST */ … … 312 313 } 313 314 315 316 DECLR0VBGL(int) VbglR0QueryHostFeatures(uint32_t *pfHostFeatures) 317 { 318 if (g_vbgldata.status == VbglStatusReady) 319 *pfHostFeatures = g_vbgldata.hostVersion.features; 320 else 321 { 322 int rc = vbglR0QueryDriverInfo(); 323 if (g_vbgldata.status != VbglStatusReady) 324 return rc; 325 *pfHostFeatures = g_vbgldata.hostVersion.features; 326 } 327 328 return VINF_SUCCESS; 329 } 330 314 331 #endif /* !VBGL_VBOXGUEST */ 315 332
Note:
See TracChangeset
for help on using the changeset viewer.