Changeset 27393 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Mar 16, 2010 11:29:32 AM (15 years ago)
- Location:
- trunk/src/VBox/Devices/PC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevACPI.cpp
r26939 r27393 1484 1484 | STA_DEVICE_SHOW_IN_UI_MASK 1485 1485 | STA_DEVICE_FUNCTIONING_PROPERLY_MASK) 1486 : 0;1486 : 0; 1487 1487 break; 1488 1488 … … 1492 1492 /* no need to show this device in the UI */ 1493 1493 | STA_DEVICE_FUNCTIONING_PROPERLY_MASK) 1494 : 0;1494 : 0; 1495 1495 break; 1496 1496 … … 1500 1500 | STA_DEVICE_SHOW_IN_UI_MASK 1501 1501 | STA_DEVICE_FUNCTIONING_PROPERLY_MASK) 1502 : 0;1502 : 0; 1503 1503 break; 1504 1505 1504 1506 1505 case SYSTEM_INFO_INDEX_CPU0_STATUS: … … 1508 1507 case SYSTEM_INFO_INDEX_CPU2_STATUS: 1509 1508 case SYSTEM_INFO_INDEX_CPU3_STATUS: 1510 *pu32 = s->fShowCpu 1511 && s->uSystemInfoIndex - SYSTEM_INFO_INDEX_CPU0_STATUS < s->cCpus 1512 && VMCPUSET_IS_PRESENT(&s->CpuSetAttached, s->uSystemInfoIndex - SYSTEM_INFO_INDEX_CPU0_STATUS) 1513 ? 1514 STA_DEVICE_PRESENT_MASK 1515 | STA_DEVICE_ENABLED_MASK 1516 | STA_DEVICE_SHOW_IN_UI_MASK 1517 | STA_DEVICE_FUNCTIONING_PROPERLY_MASK 1518 : 0; 1509 *pu32 = ( s->fShowCpu 1510 && s->uSystemInfoIndex - SYSTEM_INFO_INDEX_CPU0_STATUS < s->cCpus 1511 && VMCPUSET_IS_PRESENT(&s->CpuSetAttached, 1512 s->uSystemInfoIndex - SYSTEM_INFO_INDEX_CPU0_STATUS)) 1513 ? ( STA_DEVICE_PRESENT_MASK 1514 | STA_DEVICE_ENABLED_MASK 1515 | STA_DEVICE_SHOW_IN_UI_MASK 1516 | STA_DEVICE_FUNCTIONING_PROPERLY_MASK) 1517 : 0; 1518 break; 1519 1519 1520 1520 case SYSTEM_INFO_INDEX_RTC_STATUS: … … 1523 1523 | STA_DEVICE_SHOW_IN_UI_MASK 1524 1524 | STA_DEVICE_FUNCTIONING_PROPERLY_MASK) 1525 : 0;1525 : 0; 1526 1526 break; 1527 1527 … … 1543 1543 1544 1544 case SYSTEM_INFO_INDEX_CPU_EVENT_TYPE: 1545 {1546 1545 *pu32 = s->u32CpuEventType; 1547 1546 break; 1548 }1549 1547 1550 1548 case SYSTEM_INFO_INDEX_CPU_EVENT: 1551 {1552 1549 *pu32 = s->u32CpuEvent; 1553 1550 break; 1554 }1555 1551 1556 1552 /* Solaris 9 tries to read from this index */ -
trunk/src/VBox/Devices/PC/vbox.dsl
r27079 r27393 701 701 Method (_STA, 0, NotSerialized) 702 702 { 703 Return ( 0x0f)703 Return (URTC) 704 704 } 705 705 }
Note:
See TracChangeset
for help on using the changeset viewer.