Changeset 22388 in vbox for trunk/src/VBox
- Timestamp:
- Aug 21, 2009 1:37:10 PM (15 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r22277 r22388 5677 5677 */ 5678 5678 if (!CFGMR3AreValuesValid(pCfgHandle, "VRamSize\0" 5679 "MonitorCount\0" 5679 5680 "GCEnabled\0" 5680 5681 "R0Enabled\0" … … 5716 5717 return PDMDevHlpVMSetError(pDevIns, VERR_INVALID_PARAMETER, RT_SRC_POS, 5717 5718 "VRamSize is too small, %#x, max %#x", pThis->vram_size, VGA_VRAM_MIN); 5719 5720 rc = CFGMR3QueryU32Def(pCfgHandle, "MonitorCount", &pThis->cMonitors, 1); 5721 AssertLogRelRCReturn(rc, rc); 5718 5722 5719 5723 rc = CFGMR3QueryBoolDef(pCfgHandle, "GCEnabled", &pThis->fGCEnabled, true); -
trunk/src/VBox/Devices/Graphics/DevVGA.h
r22274 r22388 285 285 bool padding9[2]; 286 286 287 uint32_t cMonitors; 288 uint32_t padding10; 289 287 290 #ifdef VBOX_WITH_HGSMI 288 291 R3PTRTYPE(PHGSMIINSTANCE) pHGSMI; -
trunk/src/VBox/Main/ConsoleImpl2.cpp
r22384 r22388 774 774 hrc = pMachine->COMGETTER(VRAMSize)(&cVRamMBs); H(); 775 775 rc = CFGMR3InsertInteger(pCfg, "VRamSize", cVRamMBs * _1M); RC_CHECK(); 776 ULONG cMonitorCount; 777 hrc = pMachine->COMGETTER(MonitorCount)(&cMonitorCount); H(); 778 rc = CFGMR3InsertInteger(pCfg, "MonitorCount", cMonitorCount); RC_CHECK(); 776 779 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE /* not safe here yet. */ /** @todo this needs fixing !!! No wonder VGA is slooooooooow on 32-bit darwin! */ 777 780 rc = CFGMR3InsertInteger(pCfg, "R0Enabled", fHWVirtExEnabled); RC_CHECK();
Note:
See TracChangeset
for help on using the changeset viewer.