VirtualBox

Changeset 9588 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 11, 2008 12:52:02 AM (17 years ago)
Author:
vboxsync
Message:

Initialize the MP event notifications from initterm-r0drv.cpp after all.

Location:
trunk/src/VBox/Runtime
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r9564 r9588  
    632632# RuntimeW32GuestR3 - Win32 guest program runtime.
    633633#
    634 ifdef VBOX_WITH_64BIT_ADDITIONS 
     634ifdef VBOX_WITH_64BIT_ADDITIONS
    635635  RuntimeW32GuestR3_TEMPLATE     = VBOXGUESTR3LIB
    636636else
     
    977977        r0drv/nt/thread-r0drv-nt.cpp \
    978978        r0drv/nt/thread2-r0drv-nt.cpp \
    979         r0drv/nt/time-r0drv-nt.cpp
     979        r0drv/nt/time-r0drv-nt.cpp \
     980        r0drv/nt/timer-r0drv-nt.cpp
    980981## @todo timer-r0drv-nt.cpp and assert-r0drv-nt.cpp
    981982
  • trunk/src/VBox/Runtime/r0drv/initterm-r0drv.cpp

    r8245 r9588  
    3636#include <iprt/assert.h>
    3737#include <iprt/err.h>
     38#include <iprt/mp.h>
    3839
    3940#include "internal/initterm.h"
     
    5859#endif
    5960        if (RT_SUCCESS(rc))
    60             return rc;
     61        {
     62#ifndef IN_GUEST /* play safe for now */
     63            rc = RTR0MpNotificationInit(NULL); /** @todo drop the arg and rename to rtR0* */
     64#endif
     65            if (RT_SUCCESS(rc))
     66                return rc;
     67        }
    6168
    6269        rtR0TermNative();
     
    7481    rtThreadTerm();
    7582#endif
     83#ifndef IN_GUEST /* play safe for now */
     84    RTR0MpNotificationTerm(NULL); /** @todo drop the arg and rename to rtR0* */
     85#endif
    7686    rtR0TermNative();
    7787}
  • trunk/src/VBox/Runtime/r0drv/mp-r0drv.h

    r9309 r9588  
    3434#include <iprt/mp.h>
    3535
     36__BEGIN_DECLS
     37
    3638/**
    3739 * MP callback
     
    6466void rtMpNotificationDoCallbacks(RTMPEVENT enmEvent, RTCPUID idCpu);
    6567
     68__END_DECLS
     69
    6670#endif
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