Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111003293
D9698.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D9698.diff
View Options
Index: head/emulators/open-vm-tools/Makefile
===================================================================
--- head/emulators/open-vm-tools/Makefile
+++ head/emulators/open-vm-tools/Makefile
@@ -3,7 +3,7 @@
PORTNAME= open-vm-tools
PORTVERSION= ${BUILD_VER}
-PORTREVISION= 16
+PORTREVISION= 17
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/stable-9.4.x
Index: head/emulators/open-vm-tools/files/patch-vmmemctl-os.c
===================================================================
--- head/emulators/open-vm-tools/files/patch-vmmemctl-os.c
+++ head/emulators/open-vm-tools/files/patch-vmmemctl-os.c
@@ -1,5 +1,5 @@
---- modules/freebsd/vmmemctl/os.c.orig 2013-09-23 10:51:10.000000000 -0500
-+++ modules/freebsd/vmmemctl/os.c 2014-04-23 15:51:43.823041178 -0500
+--- modules/freebsd/vmmemctl/os.c.orig 2013-09-23 08:51:10.000000000 -0700
++++ modules/freebsd/vmmemctl/os.c 2017-02-20 21:19:02.000000000 -0800
@@ -37,9 +37,11 @@
#include <sys/param.h>
#include <sys/systm.h>
@@ -12,7 +12,7 @@
#include <sys/sysctl.h>
#include <vm/vm.h>
-@@ -223,7 +225,11 @@ static __inline__ unsigned long os_ffz(u
+@@ -223,7 +225,11 @@
unsigned long
OS_ReservedPageGetLimit(void)
{
@@ -24,7 +24,7 @@
}
-@@ -295,7 +301,13 @@ OS_ReservedPageGetHandle(PA64 pa) //
+@@ -295,7 +301,13 @@
Mapping
OS_MapPageHandle(PageHandle handle) // IN
{
@@ -38,7 +38,7 @@
vm_page_t page = (vm_page_t)handle;
if (!res) {
-@@ -352,7 +364,11 @@ void
+@@ -352,7 +364,11 @@
OS_UnmapPage(Mapping mapping) // IN
{
pmap_qremove((vm_offset_t)mapping, 1);
@@ -50,7 +50,7 @@
}
-@@ -360,7 +376,11 @@ static void
+@@ -360,7 +376,11 @@
os_pmap_alloc(os_pmap *p) // IN
{
/* number of pages (div. 8) */
@@ -62,7 +62,7 @@
/*
* expand to nearest word boundary
-@@ -369,14 +389,23 @@ os_pmap_alloc(os_pmap *p) // IN
+@@ -369,14 +389,23 @@
p->size = (p->size + sizeof(unsigned long) - 1) &
~(sizeof(unsigned long) - 1);
@@ -86,7 +86,7 @@
p->size = 0;
p->bitmap = NULL;
}
-@@ -449,12 +478,31 @@ os_kmem_free(vm_page_t page) // IN
+@@ -449,12 +478,31 @@
os_state *state = &global_state;
os_pmap *pmap = &state->pmap;
@@ -123,7 +123,7 @@
}
-@@ -466,8 +514,19 @@ os_kmem_alloc(int alloc_normal_failed) /
+@@ -466,8 +514,19 @@
os_state *state = &global_state;
os_pmap *pmap = &state->pmap;
@@ -143,7 +143,7 @@
return NULL;
}
-@@ -488,6 +547,11 @@ os_kmem_alloc(int alloc_normal_failed) /
+@@ -488,6 +547,11 @@
if (!page) {
os_pmap_putindex(pmap, pindex);
}
@@ -155,3 +155,12 @@
return page;
}
+@@ -824,7 +888,7 @@
+ static void
+ vmmemctl_init_sysctl(void)
+ {
+- oid = sysctl_add_oid(NULL, SYSCTL_STATIC_CHILDREN(_vm), OID_AUTO,
++ oid = SYSCTL_ADD_OID(NULL, SYSCTL_STATIC_CHILDREN(_vm), OID_AUTO,
+ BALLOON_NAME, CTLTYPE_STRING | CTLFLAG_RD,
+ 0, 0, vmmemctl_sysctl, "A",
+ BALLOON_NAME_VERBOSE);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 27, 1:54 AM (18 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16849159
Default Alt Text
D9698.diff (3 KB)
Attached To
Mode
D9698: Change sysctl_add_oid use to SYSCTL_ADD_OID
Attached
Detach File
Event Timeline
Log In to Comment