Changeset 34748 in vbox for trunk/src/VBox/Devices/Bus
- Timestamp:
- Dec 6, 2010 1:57:56 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 68554
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r34746 r34748 178 178 static void ich9pciSetIrqInternal(PPCIGLOBALS pGlobals, uint8_t uDevFn, PPCIDEVICE pPciDev, int iIrq, int iLevel); 179 179 #ifdef IN_RING3 180 static void ich9pcibridgeReset(PPDMDEVINS pDevIns); 180 181 static int ich9pciRegisterInternal(PPCIBUS pBus, int iDev, PPCIDEVICE pPciDev, const char *pszName); 181 182 static void ich9pciUpdateMappings(PCIDevice *pDev); … … 2458 2459 VBOX_PCI_COMMAND_MASTER)); 2459 2460 2460 /* Bridge device has its own reset handler clearing PCI registers*/2461 /* Bridge device reset handlers processed later */ 2461 2462 if (!PCIIsPci2PciBridge(pDev)) 2462 2463 { 2463 2464 PCIDevSetByte(pDev, VBOX_PCI_CACHE_LINE_SIZE, 0x0); 2464 2465 PCIDevSetInterruptLine(pDev, 0x0); 2465 } 2466 } 2466 2467 /* Clear regions too ? */ 2467 2468 } … … 2481 2482 if (pBus->apDevices[i]) 2482 2483 ich9pciResetDevice(pBus->apDevices[i]); 2484 } 2485 2486 for (uint32_t iBridge = 0; iBridge < pBus->cBridges; iBridge++) 2487 { 2488 if (pBus->papBridgesR3[iBridge]) 2489 ich9pcibridgeReset(pBus->papBridgesR3[iBridge]->pDevIns); 2483 2490 } 2484 2491 … … 2641 2648 * @copydoc FNPDMDEVRESET 2642 2649 */ 2643 static DECLCALLBACK(void)ich9pcibridgeReset(PPDMDEVINS pDevIns)2650 static void ich9pcibridgeReset(PPDMDEVINS pDevIns) 2644 2651 { 2645 2652 PPCIBUS pBus = PDMINS_2_DATA(pDevIns, PPCIBUS); … … 2762 2769 NULL, 2763 2770 /* pfnReset */ 2764 ich9pcibridgeReset,2771 NULL, /* Must be NULL, to make sure only bus driver handles reset */ 2765 2772 /* pfnSuspend */ 2766 2773 NULL,
Note:
See TracChangeset
for help on using the changeset viewer.