Changeset 33644 in vbox
- Timestamp:
- Nov 1, 2010 12:03:53 PM (14 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r33578 r33644 45 45 *******************************************************************************/ 46 46 47 /* WARNING!!! All defines that affetc VGAState should be placed to DevVGA.h !!! 48 * NEVER place them here as this would lead to VGAState inconsistency 49 * across different .cpp files !!! 50 */ 47 51 /** The size of the VGA GC mapping. 48 52 * This is supposed to be all the VGA memory accessible to the guest. … … 59 63 /** Converts a vga adaptor state pointer to a device instance pointer. */ 60 64 #define VGASTATE2DEVINS(pVgaState) ((pVgaState)->CTX_SUFF(pDevIns)) 61 62 /** Use VBE bytewise I/O. Only needed for Windows Longhorn/Vista betas and backwards compatibility. */63 #define VBE_BYTEWISE_IO64 65 /** Use VBE new dynamic mode list.66 * If this is not defined, no checks are carried out to see if the modes all67 * fit into the framebuffer! See the VRAM_SIZE_FIX define. */68 #define VBE_NEW_DYN_LIST69 65 70 66 /** Check that the video modes fit into virtual video memory. … … 130 126 #include <VBox/bioslogo.h> 131 127 128 /* should go BEFORE any other DevVGA include to make all DevVGA.h config defines be visible */ 129 #include "DevVGA.h" 130 132 131 #if defined(VBE_NEW_DYN_LIST) && defined(IN_RING3) && !defined(VBOX_DEVICE_STRUCT_TESTCASE) 133 132 # include "DevVGAModes.h" … … 136 135 137 136 #include "vl_vbox.h" 138 #include "DevVGA.h"139 137 #include "Builtins.h" 140 138 #include "Builtins2.h" … … 2751 2749 case 0x3b0: /* Host */ 2752 2750 { 2753 #if defined(VBOX_WITH_VIDEOHWACCEL) 2751 #if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_WITH_VDMA) || defined(VBOX_WITH_WDDM) 2754 2752 if(u32 == HGSMIOFFSET_VOID) 2755 2753 { … … 5559 5557 PCIDevSetClassBase( &pThis->Dev, 0x03); 5560 5558 PCIDevSetHeaderType(&pThis->Dev, 0x00); 5561 #if defined(VBOX_WITH_HGSMI) && defined(VBOX_WITH_VIDEOHWACCEL)5559 #if defined(VBOX_WITH_HGSMI) && (defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_WITH_VDMA) || defined(VBOX_WITH_WDDM)) 5562 5560 PCIDevSetInterruptPin(&pThis->Dev, 1); 5563 5561 #endif -
trunk/src/VBox/Devices/Graphics/DevVGA.h
r33578 r33644 40 40 * THE SOFTWARE. 41 41 */ 42 43 /** Use VBE bytewise I/O. Only needed for Windows Longhorn/Vista betas and backwards compatibility. */ 44 #define VBE_BYTEWISE_IO 45 46 /** Use VBE new dynamic mode list. 47 * If this is not defined, no checks are carried out to see if the modes all 48 * fit into the framebuffer! See the VRAM_SIZE_FIX define. */ 49 #define VBE_NEW_DYN_LIST 50 42 51 #ifdef VBOX 43 52 /** The default amount of VRAM. */ … … 288 297 bool Padding1[2]; 289 298 290 uint32_t cMonitors;291 292 299 #ifdef VBOX_WITH_HGSMI 293 300 R3PTRTYPE(PHGSMIINSTANCE) pHGSMI; … … 297 304 #endif 298 305 306 uint32_t cMonitors; 299 307 /** Current refresh timer interval. */ 300 uint32_t Padding2;301 308 uint32_t cMilliesRefreshInterval; 302 309 /** Refresh timer handle - HC. */ -
trunk/src/VBox/Devices/testcase/Makefile.kmk
r33360 r33644 76 76 tstDeviceStructSizeRC_DEFS += VBOX_WITH_HGSMI 77 77 endif 78 ifdef VBOX_WITH_CRHGSMI 79 tstDeviceStructSizeRC_DEFS += VBOX_WITH_CRHGSMI 80 endif 81 ifdef VBOX_WITH_VDMA 82 tstDeviceStructSizeRC_DEFS += VBOX_WITH_VDMA 83 endif 84 ifdef VBOX_WITH_WDDM 85 tstDeviceStructSizeRC_DEFS += VBOX_WITH_WDDM 86 endif 78 87 ifdef VBOX_WITH_VIDEOHWACCEL 79 88 tstDeviceStructSizeRC_DEFS += VBOX_WITH_VIDEOHWACCEL … … 115 124 ifdef VBOX_WITH_HGSMI 116 125 tstDeviceStructSize_DEFS += VBOX_WITH_HGSMI 126 endif 127 ifdef VBOX_WITH_CRHGSMI 128 tstDeviceStructSize_DEFS += VBOX_WITH_CRHGSMI 129 endif 130 ifdef VBOX_WITH_VDMA 131 tstDeviceStructSize_DEFS += VBOX_WITH_VDMA 132 endif 133 ifdef VBOX_WITH_WDDM 134 tstDeviceStructSize_DEFS += VBOX_WITH_WDDM 117 135 endif 118 136 ifdef VBOX_WITH_VIDEOHWACCEL
Note:
See TracChangeset
for help on using the changeset viewer.