VirtualBox

Ignore:
Timestamp:
Mar 15, 2012 5:14:31 PM (13 years ago)
Author:
vboxsync
Message:

Made XPDM driver get LFB base from PCI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxMPDriver.cpp

    r38906 r40489  
    9292    VBOXMP_WARN_VPS(rc);
    9393
    94     /* Call VideoPortGetAccessRanges to ensure interrupt info in ConfigInfo gets set up */
     94    /* Call VideoPortGetAccessRanges to ensure interrupt info in ConfigInfo gets set up
     95     * and to get LFB aperture data.
     96     */
    9597    {
    9698        VIDEO_ACCESS_RANGE tmpRanges[4];
     
    114116        }
    115117        VBOXMP_WARN_VPS(rc);
     118        if (rc != NO_ERROR) {
     119            return rc;
     120        }
     121
     122        /* The first range is the framebuffer. We require that information. */
     123        pExt->u.primary.physLFBBase    = tmpRanges[0].RangeStart;
     124        pExt->u.primary.ulApertureSize = tmpRanges[0].RangeLength;
    116125    }
    117126
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette