~ubuntu-branches/ubuntu/vivid/virtualbox-ose/vivid

« back to all changes in this revision

Viewing changes to src/VBox/Runtime/r0drv/nt/initterm-r0drv-nt.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Michael Meskes, Felix Geyer, Michael Meskes
  • Date: 2009-10-13 13:46:44 UTC
  • mfrom: (0.2.8 upstream)
  • mto: (0.4.2 squeeze)
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: james.westby@ubuntu.com-20091013134644-d5rdsy3tb3dflshf
Tags: 3.0.8-dfsg-1
[ Felix Geyer ]
* New Upstream Version
  - Fixes security vulnerability in VBoxNetAdpCtl (SunSolve #268188)
* Conflict with upstream proprietary packages
* Install vboxapi python module, closes: #549542
* Use an own cleaned-up virtualbox-ose init script instead of
  patching the upstream script
* Only restart virtualbox-ose after upgrade if it's not running; do not
  restart virtualbox-ose-guest-utils at all
* Call notify-reboot-required after guest utils upgrade
* Remove vboxusers group as it's not needed anymore
* Don't statically link VBoxClient with libstdc++
  - Add patch 22-no-static-libstdcpp.dpatch from Fedora
* Pass more build options through the command line, which allows us to drop
  02-config-kmk.dpatch, 03-localconf-kmk.dpatch and
  14-disable-registration-request.dpatch
* No longer reload udev rules in postinst as they are reloaded automatically
* Add lintian overrides for non-PIC code in /usr/lib/virtualbox/*.so

[ Michael Meskes ]
* Made debug package also depend on guest utilities package.
* Added option to close down all active VMs from init script.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
    /*
72
72
     * Init the Nt cpu set.
73
73
     */
 
74
#ifdef IPRT_TARGET_NT4
 
75
    KAFFINITY ActiveProcessors = (UINT64_C(1) << KeNumberProcessors) - UINT64_C(1);
 
76
#else
74
77
    KAFFINITY ActiveProcessors = KeQueryActiveProcessors();
 
78
#endif
75
79
    RTCpuSetEmpty(&g_rtMpNtCpuSet);
76
80
    RTCpuSetFromU64(&g_rtMpNtCpuSet, ActiveProcessors);
77
81
 
 
82
#ifdef IPRT_TARGET_NT4
 
83
    g_pfnrtNtExSetTimerResolution = NULL;
 
84
    g_pfnrtNtKeFlushQueuedDpcs = NULL;
 
85
#else
78
86
    /*
79
87
     * Initialize the function pointers.
80
88
     */
84
92
 
85
93
    RtlInitUnicodeString(&RoutineName, L"KeFlushQueuedDpcs");
86
94
    g_pfnrtNtKeFlushQueuedDpcs = (PFNMYKEFLUSHQUEUEDDPCS)MmGetSystemRoutineAddress(&RoutineName);
 
95
#endif
87
96
 
88
97
    /*
89
98
     * Get some info that might come in handy below.