VirtualBox

Changeset 34332 in vbox for trunk/src/VBox/Devices/Bus


Ignore:
Timestamp:
Nov 24, 2010 4:43:26 PM (14 years ago)
Author:
vboxsync
Message:

PCI: run BIOS init on each reset

Location:
trunk/src/VBox/Devices/Bus
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPCI.cpp

    r33540 r34332  
    19831983
    19841984/**
     1985 * @copydoc FNPDMDEVRESET
     1986 */
     1987static DECLCALLBACK(void) pciReset(PPDMDEVINS pDevIns)
     1988{
     1989    pciFakePCIBIOS(pDevIns);
     1990}
     1991
     1992/**
    19851993 * @interface_method_impl{PDMDEVREG,pfnConstruct}
    19861994 */
     
    21642172    NULL,
    21652173    /* pfnReset */
    2166     NULL,
     2174    pciReset,
    21672175    /* pfnSuspend */
    21682176    NULL,
  • trunk/src/VBox/Devices/Bus/DevPciIch9.cpp

    r34302 r34332  
    23952395        PCIDevSetByte(pDev, VBOX_PCI_INTERRUPT_LINE,  0x0);
    23962396    }
     2397    else
     2398    {
     2399        /* @todo: reset devices behind the bridge too */
     2400    }
    23972401    /* Regions ? */
    23982402}
     
    24072411    PPCIBUS     pBus     = &pGlobals->aPciBus;
    24082412
    2409     /* Relocate RC pointers for the attached pci devices. */
     2413    /* PCI-specific reset for each device. */
    24102414    for (uint32_t i = 0; i < RT_ELEMENTS(pBus->apDevices); i++)
    24112415    {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette