VirtualBox

Ignore:
Timestamp:
Mar 21, 2012 2:12:23 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
76960
Message:

wddm: remove VBE_DISPI_LFB_PHYSICAL_ADDRESS

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPCommon.cpp

    r40489 r40566  
    3333
    3434    PHYSICAL_ADDRESS FrameBuffer;
    35     FrameBuffer.QuadPart = pPEXT->u.primary.physLFBBase.QuadPart + ulOffset;
     35    FrameBuffer.QuadPart = VBoxCommonFromDeviceExt(pPEXT)->phVRAM.QuadPart + ulOffset;
    3636
    3737    PVOID VideoRamBase = NULL;
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPDevExt.h

    r40489 r40566  
    4040    uint32_t cbVRAM;                    /* The VRAM size. */
    4141
     42    PHYSICAL_ADDRESS phVRAM;            /* Physical VRAM base. */
     43
     44    ULONG ulApertureSize;               /* Size of the LFB aperture (>= VRAM size). */
     45
    4246    uint32_t cbMiniportHeap;            /* The size of reserved VRAM for miniport driver heap.
    4347                                         * It is at offset:
     
    128132           ULONG ulVbvaEnabled;                /* Indicates that VBVA mode is enabled. */
    129133           ULONG ulMaxFrameBufferSize;         /* The size of the VRAM allocated for the a single framebuffer. */
    130            PHYSICAL_ADDRESS physLFBBase;       /* Physical linear framebuffer base. */
    131            ULONG ulApertureSize;               /* Size of the LFB aperture (>= VRAM size). */
    132134           BOOLEAN fMouseHidden;               /* Has the mouse cursor been hidden by the guest? */
    133135           VBOXMP_COMMON commonInfo;
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPHGSMI.cpp

    r40387 r40566  
    2929 * to talk to the host.
    3030 */
    31 void VBoxSetupDisplaysHGSMI(PVBOXMP_COMMON pCommon,
    32                             uint32_t AdapterMemorySize, uint32_t fCaps)
     31void VBoxSetupDisplaysHGSMI(PVBOXMP_COMMON pCommon, PHYSICAL_ADDRESS phVRAM, uint32_t ulApertureSize,
     32                            uint32_t cbVRAM, uint32_t fCaps)
    3333{
    3434    /** @todo I simply converted this from Windows error codes.  That is wrong,
     
    4242
    4343    memset(pCommon, 0, sizeof(*pCommon));
    44     pCommon->cbVRAM    = AdapterMemorySize;
     44    pCommon->phVRAM = phVRAM;
     45    pCommon->ulApertureSize = ulApertureSize;
     46    pCommon->cbVRAM    = cbVRAM;
    4547    pCommon->cDisplays = 1;
    4648    pCommon->bHGSMI    = VBoxHGSMIIsSupported();
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPHGSMI.h

    r36867 r40566  
    2323
    2424RT_C_DECLS_BEGIN
    25 void VBoxSetupDisplaysHGSMI(PVBOXMP_COMMON pCommon, uint32_t AdapterMemorySize, uint32_t fCaps);
     25void VBoxSetupDisplaysHGSMI(PVBOXMP_COMMON pCommon, PHYSICAL_ADDRESS phVRAM, uint32_t ulApertureSize, uint32_t cbVRAM, uint32_t fCaps);
    2626void VBoxFreeDisplaysHGSMI(PVBOXMP_COMMON pCommon);
    2727RT_C_DECLS_END
Note: See TracChangeset for help on using the changeset viewer.

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