VirtualBox

Changeset 35902 in vbox


Ignore:
Timestamp:
Feb 8, 2011 4:13:18 PM (14 years ago)
Author:
vboxsync
Message:

VMMR0.cpp: Added the IntNetR0Term call to ModuleInit that was missing in r67595. Cleanups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r35885 r35902  
    3131#include <VBox/vmm/vm.h>
    3232#ifdef VBOX_WITH_PCI_PASSTHROUGH
    33 #include <VBox/vmm/pdmpci.h>
     33# include <VBox/vmm/pdmpci.h>
    3434#endif
    3535
     
    4242#include <VBox/version.h>
    4343#include <VBox/log.h>
    44 
    4544
    4645#include <iprt/asm-amd64-x86.h>
     
    142141                                    return VINF_SUCCESS;
    143142                                }
     143
     144                                /*
     145                                 * Bail out.
     146                                 */
     147#ifdef VBOX_WITH_PCI_PASSTHROUGH
     148                                PciRawR0Term();
     149#endif
    144150                            }
    145 
    146                             /* bail out */
    147                             LogFlow(("ModuleTerm: returns %Rrc\n", rc));
    148 #ifdef VBOX_WITH_PCI_PASSTHROUGH
    149                             PciRawR0Term();
    150 #endif
     151                            IntNetR0Term();
     152                        }
    151153#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE
    152                             PGMR0DynMapTerm();
    153 #endif
    154                         }
     154                        PGMR0DynMapTerm();
     155#endif
    155156                    }
    156157                    PGMDeregisterStringFormatTypes();
     
    187188
    188189    /*
    189      * PGM (Darwin) and HWACCM global cleanup.
     190     * PGM (Darwin), HWACCM and PciRaw global cleanup.
    190191     */
    191192#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE
    192193    PGMR0DynMapTerm();
    193194#endif
    194 
    195195#ifdef VBOX_WITH_PCI_PASSTHROUGH
    196     /*
    197      * Terminate PCI passthrough service.
    198      */
    199196    PciRawR0Term();
    200197#endif
     
    15561553    RTAssertMsg2V(pszFormat, va);
    15571554}
     1555
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