aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorMike Silbersack <silby@FreeBSD.org>2004-01-21 22:36:50 +0000
committerMike Silbersack <silby@FreeBSD.org>2004-01-21 22:36:50 +0000
commit9adc302b40dd36b5b76b20494c91ec207f3d6d5b (patch)
treea974f899b8389d96dc155eb5834776177f342ce3 /emulators
parentd2ecb8d50592c3914e6a1a0dd9038613bdfc0bc4 (diff)
downloadports-9adc302b40dd36b5b76b20494c91ec207f3d6d5b.tar.gz
ports-9adc302b40dd36b5b76b20494c91ec207f3d6d5b.zip
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/vmware3/files/patch-aa12
1 files changed, 12 insertions, 0 deletions
diff --git a/emulators/vmware3/files/patch-aa b/emulators/vmware3/files/patch-aa
new file mode 100644
index 000000000000..77015077bcbe
--- /dev/null
+++ b/emulators/vmware3/files/patch-aa
@@ -0,0 +1,12 @@
+--- vmmon-only/freebsd/driver.c.old Wed Jan 21 16:14:24 2004
++++ vmmon-only/freebsd/driver.c Wed Jan 21 16:16:44 2004
+@@ -1328,7 +1328,8 @@
+ */
+ VMDEBUG("vmmon_alloc_low_pages: vm_page_alloc_contig: sz %lu hi %u\n",
+ numPages * PAGE_SIZE, high);
+- va = vm_page_alloc_contig(numPages * PAGE_SIZE, 0, high, PAGE_SIZE);
++ va = (vm_offset_t)contigmalloc(numPages * PAGE_SIZE, M_DEVBUF, M_NOWAIT,
++ 0, high, PAGE_SIZE, 0);
+ if (!va) {
+ VMDEBUG("vmmon_alloc_low_pages: vm_page_alloc_contig failed\n");
+ goto bad;