VirtualBox

Changeset 36422 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Mar 25, 2011 8:20:08 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70782
Message:

PCI: sync

Location:
trunk/src/VBox/HostDrivers/VBoxPci
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxPci/VBoxPci.c

    r36400 r36422  
    521521static DECLCALLBACK(int)  vboxPciFactoryInitVm(PRAWPCIFACTORY       pFactory,
    522522                                               PVM                  pVM,
    523                                                PRAWPCIVM            pPciData)
     523                                               PRAWPCIVM            pVmData)
    524524{
    525525    PVBOXRAWPCIDRVVM pThis = (PVBOXRAWPCIDRVVM)RTMemAllocZ(sizeof(VBOXRAWPCIDRVVM));
     
    532532    if (RT_SUCCESS(rc))
    533533    {
    534         rc = vboxPciOsInitVm(pThis, pVM);
     534        rc = vboxPciOsInitVm(pThis, pVM, pVmData);
     535#ifdef VBOX_WITH_IOMMU
     536        /* If IOMMU notification routine in pVmData->pfnContigMemInfo
     537           is not set - we have no IOMMU hardware. */
     538#endif
    535539
    536540        if (RT_SUCCESS(rc))
    537541        {
    538             pPciData->pDriverData = pThis;
     542            pVmData->pDriverData = pThis;
    539543            return VINF_SUCCESS;
    540544        }
  • trunk/src/VBox/HostDrivers/VBoxPci/VBoxPciInternal.h

    r36400 r36422  
    2626#ifdef RT_OS_LINUX
    2727
    28 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 31)
     28#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35)
    2929# ifdef DEBUG_nike
    3030#  define VBOX_WITH_IOMMU
     
    139139DECLHIDDEN(void) vboxPciShutdown(PVBOXRAWPCIGLOBALS pGlobals);
    140140
    141 DECLHIDDEN(int)  vboxPciOsInitVm(PVBOXRAWPCIDRVVM pThis,   PVM pVM);
     141DECLHIDDEN(int)  vboxPciOsInitVm(PVBOXRAWPCIDRVVM pThis,   PVM pVM, PRAWPCIVM pVmData);
    142142DECLHIDDEN(void) vboxPciOsDeinitVm(PVBOXRAWPCIDRVVM pThis, PVM pVM);
    143143
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