/** * Checks whether the host supports physical page lists or not. * * @returns true if it does, false if it doesn't. */ DECLR0VBGL(bool) VbglR0CanUsePhysPageList(void) { /* a_fLocked is false, because the actual capability of the host is requested. * See VBGLR0_CAN_USE_PHYS_PAGE_LIST definition. */ int rc = vbglR0Enter(); return RT_SUCCESS(rc) && VBGLR0_CAN_USE_PHYS_PAGE_LIST(/*a_fLocked =*/ false); }
/** * Checks whether the host supports physical page lists or not. * * @returns true if it does, false if it doesn't. */ DECLR0VBGL(bool) VbglR0CanUsePhysPageList(void) { int rc = vbglR0Enter(); return RT_SUCCESS(rc) && VBGLR0_CAN_USE_PHYS_PAGE_LIST(); }