Changeset 40566 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common
- Timestamp:
- Mar 21, 2012 2:12:23 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 76960
- 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 33 33 34 34 PHYSICAL_ADDRESS FrameBuffer; 35 FrameBuffer.QuadPart = pPEXT->u.primary.physLFBBase.QuadPart + ulOffset;35 FrameBuffer.QuadPart = VBoxCommonFromDeviceExt(pPEXT)->phVRAM.QuadPart + ulOffset; 36 36 37 37 PVOID VideoRamBase = NULL; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPDevExt.h
r40489 r40566 40 40 uint32_t cbVRAM; /* The VRAM size. */ 41 41 42 PHYSICAL_ADDRESS phVRAM; /* Physical VRAM base. */ 43 44 ULONG ulApertureSize; /* Size of the LFB aperture (>= VRAM size). */ 45 42 46 uint32_t cbMiniportHeap; /* The size of reserved VRAM for miniport driver heap. 43 47 * It is at offset: … … 128 132 ULONG ulVbvaEnabled; /* Indicates that VBVA mode is enabled. */ 129 133 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). */132 134 BOOLEAN fMouseHidden; /* Has the mouse cursor been hidden by the guest? */ 133 135 VBOXMP_COMMON commonInfo; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPHGSMI.cpp
r40387 r40566 29 29 * to talk to the host. 30 30 */ 31 void VBoxSetupDisplaysHGSMI(PVBOXMP_COMMON pCommon, 32 uint32_t AdapterMemorySize, uint32_t fCaps)31 void VBoxSetupDisplaysHGSMI(PVBOXMP_COMMON pCommon, PHYSICAL_ADDRESS phVRAM, uint32_t ulApertureSize, 32 uint32_t cbVRAM, uint32_t fCaps) 33 33 { 34 34 /** @todo I simply converted this from Windows error codes. That is wrong, … … 42 42 43 43 memset(pCommon, 0, sizeof(*pCommon)); 44 pCommon->cbVRAM = AdapterMemorySize; 44 pCommon->phVRAM = phVRAM; 45 pCommon->ulApertureSize = ulApertureSize; 46 pCommon->cbVRAM = cbVRAM; 45 47 pCommon->cDisplays = 1; 46 48 pCommon->bHGSMI = VBoxHGSMIIsSupported(); -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPHGSMI.h
r36867 r40566 23 23 24 24 RT_C_DECLS_BEGIN 25 void VBoxSetupDisplaysHGSMI(PVBOXMP_COMMON pCommon, uint32_t AdapterMemorySize, uint32_t fCaps);25 void VBoxSetupDisplaysHGSMI(PVBOXMP_COMMON pCommon, PHYSICAL_ADDRESS phVRAM, uint32_t ulApertureSize, uint32_t cbVRAM, uint32_t fCaps); 26 26 void VBoxFreeDisplaysHGSMI(PVBOXMP_COMMON pCommon); 27 27 RT_C_DECLS_END
Note:
See TracChangeset
for help on using the changeset viewer.