diff options
| author | Martin Wilke <miwi@FreeBSD.org> | 2009-09-13 19:19:49 +0000 |
|---|---|---|
| committer | Martin Wilke <miwi@FreeBSD.org> | 2009-09-13 19:19:49 +0000 |
| commit | 88d95ab6f936d2397ebfadeab789ea30928c4ada (patch) | |
| tree | 253eb667f11ee505c8ba8c04ba2ceaf8e7459750 /emulators/virtualbox-ose-kmod/files/patch-src-VBox-Runtime-r0drv-freebsd.semevent-r0drv-freebsd.c | |
| parent | Mark DEPRECATED with an EXPIRATION_DATE of 2009-10-13 since it depends (diff) | |
- Update to 3.0.51r22902. This version enables host serial support
and support for bridged and hostonly networking contributed by
Fredrik Lindberg <fli AT shapeshifter.se>.
- Install GuestAdditions in designated directory. [1]
- Install NLS files in designated directory.
- Add workaround for directory permission problem.
Reported by: Jonathan Chen <jonc AT chen.org.nz> [1]
On behalf of: vbox@ (decke, dhn, beat, nox)
Diffstat (limited to 'emulators/virtualbox-ose-kmod/files/patch-src-VBox-Runtime-r0drv-freebsd.semevent-r0drv-freebsd.c')
| -rw-r--r-- | emulators/virtualbox-ose-kmod/files/patch-src-VBox-Runtime-r0drv-freebsd.semevent-r0drv-freebsd.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/emulators/virtualbox-ose-kmod/files/patch-src-VBox-Runtime-r0drv-freebsd.semevent-r0drv-freebsd.c b/emulators/virtualbox-ose-kmod/files/patch-src-VBox-Runtime-r0drv-freebsd.semevent-r0drv-freebsd.c deleted file mode 100644 index c2cdf7963fd7..000000000000 --- a/emulators/virtualbox-ose-kmod/files/patch-src-VBox-Runtime-r0drv-freebsd.semevent-r0drv-freebsd.c +++ /dev/null @@ -1,41 +0,0 @@ -Index: src/VBox/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c -@@ -205,15 +205,23 @@ static int rtSemEventWait(RTSEMEVENT Eve - - RTSpinlockRelease(pEventInt->hSpinLock, &Tmp); - -+#if __FreeBSD_version >=800026 - if (fInterruptible) - rc = sleepq_timedwait_sig(pEventInt, 0); - else - rc = sleepq_timedwait(pEventInt, 0); -+#else -+ if (fInterruptible) -+ rc = sleepq_timedwait_sig(pEventInt); -+ else -+ rc = sleepq_timedwait(pEventInt); -+#endif - } - else - { - RTSpinlockRelease(pEventInt->hSpinLock, &Tmp); - -+#if __FreeBSD_version >=800026 - if (fInterruptible) - rc = sleepq_wait_sig(pEventInt, 0); - else -@@ -221,6 +229,15 @@ static int rtSemEventWait(RTSEMEVENT Eve - rc = 0; - sleepq_wait(pEventInt, 0); - } -+#else -+ if (fInterruptible) -+ rc = sleepq_wait_sig(pEventInt); -+ else -+ { -+ rc = 0; -+ sleepq_wait(pEventInt); -+ } -+#endif - } - - RTSpinlockAcquire(pEventInt->hSpinLock, &Tmp); |
