Changeset 32471 in vbox for trunk/src/VBox/Devices/PC
- Timestamp:
- Sep 14, 2010 10:26:07 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 65845
- Location:
- trunk/src/VBox/Devices/PC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevACPI.cpp
r32190 r32471 162 162 SYSTEM_INFO_INDEX_NIC_ADDRESS = 15, /**< NIC PCI address, or 0 */ 163 163 SYSTEM_INFO_INDEX_AUDIO_ADDRESS = 16, /**< Audio card PCI address, or 0 */ 164 SYSTEM_INFO_INDEX_POWER_STATES = 17, 165 SYSTEM_INFO_INDEX_END = 18, 164 SYSTEM_INFO_INDEX_POWER_STATES = 17, 165 SYSTEM_INFO_INDEX_IOC_ADDRESS = 18, /**< IO controller PCI address */ 166 SYSTEM_INFO_INDEX_END = 19, 166 167 SYSTEM_INFO_INDEX_INVALID = 0x80, 167 168 SYSTEM_INFO_INDEX_VALID = 0x200 … … 268 269 /** Flag whether to set WAK_STS on resume (restore included). */ 269 270 bool fSetWakeupOnResume; 271 /** PCI address of the IO controller device. */ 272 uint32_t u32IocPciAddress; 273 uint32_t pad0; 270 274 271 275 /** ACPI port base interface. */ … … 1564 1568 break; 1565 1569 1570 case SYSTEM_INFO_INDEX_IOC_ADDRESS: 1571 *pu32 = s->u32IocPciAddress; 1572 break; 1573 1566 1574 /* This is only for compatability with older saved states that 1567 1575 may include ACPI code that read these values. Legacy is … … 2456 2464 "NicPciAddress\0" 2457 2465 "AudioPciAddress\0" 2466 "IocPciAddress\0" 2458 2467 "EnableSuspendToDisk\0" 2459 2468 "PowerS1Enabled\0" … … 2518 2527 return PDMDEV_SET_ERROR(pDevIns, rc, 2519 2528 N_("Configuration error: Failed to read \"AudioPciAddress\"")); 2529 2530 /* query IO controller (southbridge) PCI address */ 2531 rc = CFGMR3QueryU32Def(pCfg, "IocPciAddress", &s->u32IocPciAddress, 0); 2532 if (RT_FAILURE(rc)) 2533 return PDMDEV_SET_ERROR(pDevIns, rc, 2534 N_("Configuration error: Failed to read \"IocPciAddress\"")); 2520 2535 2521 2536 /* query whether S1 power state should be exposed */ -
trunk/src/VBox/Devices/PC/DevLPC.cpp
r29522 r32471 208 208 LPCState *pThis = PDMINS_2_DATA(pDevIns, LPCState *); 209 209 LogFlow(("lpcInfo: \n")); 210 211 if (pThis->dev.config[0xde] == 0xbe && pThis->dev.config[0xad] == 0xef) 212 pHlp->pfnPrintf(pHlp, "APIC backdoor activated\n"); 213 else 214 pHlp->pfnPrintf(pHlp, "APIC backdoor closed: %02x %02x\n", 215 pThis->dev.config[0xde], pThis->dev.config[0xad]); 210 216 } 211 217 -
trunk/src/VBox/Devices/PC/vbox.dsl
r31963 r32471 128 128 { 129 129 MEML, 32, 130 UIOA, 32, 131 UHPT, 32, 132 USMC, 32, 133 UFDC, 32, 130 UIOA, 32, // if IO APIC enabled 131 UHPT, 32, // if HPET enabled 132 USMC, 32, // if SMC enabled 133 UFDC, 32, // if floppy controller enabled 134 134 // UCP0-UCP3 no longer used and only kept here for saved state compatibilty 135 135 UCP0, 32, … … 138 138 UCP3, 32, 139 139 MEMH, 32, 140 URTC, 32, 141 CPUL, 32, 142 CPUC, 32, 143 CPET, 32, 144 CPEV, 32, 145 NICA, 32, 146 HDAA, 32, 147 PWRS, 32, 140 URTC, 32, // if RTC shown in tables 141 CPUL, 32, // flag of CPU lock state 142 CPUC, 32, // CPU to check lock status 143 CPET, 32, // type of CPU hotplug event 144 CPEV, 32, // id of CPU event targets 145 NICA, 32, // Primary NIC PCI address 146 HDAA, 32, // HDA PCI address 147 PWRS, 32, // power states 148 IOCA, 32, // Southbridge IO controller PCI address 148 149 Offset (0x80), 149 150 ININ, 32, … … 508 509 Device (PCI0) 509 510 { 510 Name (_HID, EisaId ("PNP0A03")) 511 512 Name (_HID, EisaId ("PNP0A03")) // PCI bus PNP id 511 513 Name (_ADR, 0x00) // address 512 514 Name (_BBN, 0x00) // base bus adddress … … 534 536 Device (SBRG) 535 537 { 536 // Address of the PIIX3 (device 1 function 0) 537 Name (_ADR, 0x00010000) 538 // Address of the southbridge device (PIIX or ICH9) 539 Method(_ADR, 0, NotSerialized) 540 { 541 Return (IOCA) 542 } 538 543 OperationRegion (PCIC, PCI_Config, 0x00, 0xff) 539 544
Note:
See TracChangeset
for help on using the changeset viewer.