Changeset 36422 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Mar 25, 2011 8:20:08 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70782
- Location:
- trunk/src/VBox/HostDrivers/VBoxPci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxPci/VBoxPci.c
r36400 r36422 521 521 static DECLCALLBACK(int) vboxPciFactoryInitVm(PRAWPCIFACTORY pFactory, 522 522 PVM pVM, 523 PRAWPCIVM p PciData)523 PRAWPCIVM pVmData) 524 524 { 525 525 PVBOXRAWPCIDRVVM pThis = (PVBOXRAWPCIDRVVM)RTMemAllocZ(sizeof(VBOXRAWPCIDRVVM)); … … 532 532 if (RT_SUCCESS(rc)) 533 533 { 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 535 539 536 540 if (RT_SUCCESS(rc)) 537 541 { 538 p PciData->pDriverData = pThis;542 pVmData->pDriverData = pThis; 539 543 return VINF_SUCCESS; 540 544 } -
trunk/src/VBox/HostDrivers/VBoxPci/VBoxPciInternal.h
r36400 r36422 26 26 #ifdef RT_OS_LINUX 27 27 28 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 3 1)28 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35) 29 29 # ifdef DEBUG_nike 30 30 # define VBOX_WITH_IOMMU … … 139 139 DECLHIDDEN(void) vboxPciShutdown(PVBOXRAWPCIGLOBALS pGlobals); 140 140 141 DECLHIDDEN(int) vboxPciOsInitVm(PVBOXRAWPCIDRVVM pThis, PVM pVM );141 DECLHIDDEN(int) vboxPciOsInitVm(PVBOXRAWPCIDRVVM pThis, PVM pVM, PRAWPCIVM pVmData); 142 142 DECLHIDDEN(void) vboxPciOsDeinitVm(PVBOXRAWPCIDRVVM pThis, PVM pVM); 143 143
Note:
See TracChangeset
for help on using the changeset viewer.