- Timestamp:
- Mar 26, 2009 7:35:20 PM (16 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/testcase/tstDeviceStructSizeGC.cpp
r16247 r18348 1312 1312 GEN_CHECK_OFF(BUSLOGICDEVICE, IBase); 1313 1313 GEN_CHECK_OFF(BUSLOGICDEVICE, ISCSIPort); 1314 GEN_CHECK_OFF(BUSLOGICDEVICE, ILed); 1314 1315 GEN_CHECK_OFF(BUSLOGICDEVICE, pDrvBase); 1315 1316 GEN_CHECK_OFF(BUSLOGICDEVICE, pDrvSCSIConnector); 1317 GEN_CHECK_OFF(BUSLOGICDEVICE, Led); 1316 1318 GEN_CHECK_OFF(BUSLOGICDEVICE, cOutstandingRequests); 1317 1319 … … 1354 1356 GEN_CHECK_OFF(BUSLOGIC, aDeviceStates); 1355 1357 GEN_CHECK_OFF(BUSLOGIC, aDeviceStates[BUSLOGIC_MAX_DEVICES-1]); 1358 GEN_CHECK_OFF(BUSLOGIC, IBase); 1359 GEN_CHECK_OFF(BUSLOGIC, ILeds); 1360 GEN_CHECK_OFF(BUSLOGIC, pLedsConnector); 1356 1361 #endif /* VBOX_WITH_BUSLOGIC */ 1357 1362 … … 1365 1370 GEN_CHECK_OFF(LSILOGICDEVICE, IBase); 1366 1371 GEN_CHECK_OFF(LSILOGICDEVICE, ISCSIPort); 1372 GEN_CHECK_OFF(LSILOGICDEVICE, ILed); 1367 1373 GEN_CHECK_OFF(LSILOGICDEVICE, pDrvBase); 1368 1374 GEN_CHECK_OFF(LSILOGICDEVICE, pDrvSCSIConnector); 1375 GEN_CHECK_OFF(LSILOGICDEVICE, Led); 1369 1376 1370 1377 GEN_CHECK_SIZE(LSILOGICSCSI); … … 1426 1433 GEN_CHECK_OFF(LSILOGICSCSI, VBoxSCSI); 1427 1434 GEN_CHECK_OFF(LSILOGICSCSI, pTaskCache); 1435 GEN_CHECK_OFF(LSILOGICSCSI, IBase); 1436 GEN_CHECK_OFF(LSILOGICSCSI, ILeds); 1437 GEN_CHECK_OFF(LSILOGICSCSI, pLedsConnector); 1428 1438 #endif /* VBOX_WITH_LSILOGIC */ 1429 1439 -
trunk/src/VBox/Main/ConsoleImpl.cpp
r18269 r18348 245 245 memset(mapIDELeds, 0, sizeof(mapIDELeds)); 246 246 memset(mapSATALeds, 0, sizeof(mapSATALeds)); 247 memset(mapSCSILeds, 0, sizeof(mapSCSILeds)); 247 248 memset(mapNetworkLeds, 0, sizeof(mapNetworkLeds)); 248 249 memset(&mapUSBLed, 0, sizeof(mapUSBLed)); … … 1903 1904 for (unsigned i = 0; i < RT_ELEMENTS(mapSATALeds); i++) 1904 1905 SumLed.u32 |= readAndClearLed(mapSATALeds[i]); 1906 for (unsigned i = 0; i < RT_ELEMENTS(mapSCSILeds); i++) 1907 SumLed.u32 |= readAndClearLed(mapSCSILeds[i]); 1905 1908 break; 1906 1909 } -
trunk/src/VBox/Main/ConsoleImpl2.cpp
r18323 r18348 834 834 rc = CFGMR3InsertNode(pCtlInst, "Config", &pCfg); RC_CHECK(); 835 835 fSCSI = true; 836 837 /* Attach the status driver */ 838 rc = CFGMR3InsertNode(pCtlInst, "LUN#999", &pLunL0); RC_CHECK(); 839 rc = CFGMR3InsertString(pLunL0, "Driver", "MainStatus"); RC_CHECK(); 840 rc = CFGMR3InsertNode(pLunL0, "Config", &pCfg); RC_CHECK(); 841 rc = CFGMR3InsertInteger(pCfg, "papLeds", (uintptr_t)&pConsole->mapSCSILeds[0]); RC_CHECK(); 842 rc = CFGMR3InsertInteger(pCfg, "First", 0); RC_CHECK(); 843 rc = CFGMR3InsertInteger(pCfg, "Last", 15); RC_CHECK(); 836 844 break; 837 845 } … … 847 855 rc = CFGMR3InsertNode(pCtlInst, "Config", &pCfg); RC_CHECK(); 848 856 fSCSI = true; 857 858 /* Attach the status driver */ 859 rc = CFGMR3InsertNode(pCtlInst, "LUN#999", &pLunL0); RC_CHECK(); 860 rc = CFGMR3InsertString(pLunL0, "Driver", "MainStatus"); RC_CHECK(); 861 rc = CFGMR3InsertNode(pLunL0, "Config", &pCfg); RC_CHECK(); 862 rc = CFGMR3InsertInteger(pCfg, "papLeds", (uintptr_t)&pConsole->mapSCSILeds[0]); RC_CHECK(); 863 rc = CFGMR3InsertInteger(pCfg, "First", 0); RC_CHECK(); 864 rc = CFGMR3InsertInteger(pCfg, "Last", 15); RC_CHECK(); 849 865 break; 850 866 } -
trunk/src/VBox/Main/include/ConsoleImpl.h
r17684 r18348 545 545 PPDMLED mapIDELeds[4]; 546 546 PPDMLED mapSATALeds[30]; 547 PPDMLED mapSCSILeds[16]; 547 548 PPDMLED mapNetworkLeds[8]; 548 549 PPDMLED mapSharedFolderLed;
Note:
See TracChangeset
for help on using the changeset viewer.