summaryrefslogtreecommitdiff
path: root/emulators/vmware2/files/hostif_c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/vmware2/files/hostif_c.patch')
-rw-r--r--emulators/vmware2/files/hostif_c.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/vmware2/files/hostif_c.patch b/emulators/vmware2/files/hostif_c.patch
new file mode 100644
index 000000000000..58499ba714d3
--- /dev/null
+++ b/emulators/vmware2/files/hostif_c.patch
@@ -0,0 +1,11 @@
+--- vmmon-only/freebsd/hostif.c.patched Tue Apr 8 15:15:20 2003
++++ vmmon-only/freebsd/hostif.c Tue Apr 8 15:16:21 2003
+@@ -183,7 +183,7 @@
+ {
+ #define DEB(x)
+ caddr_t addr = (caddr_t)VPN_2_VA(ppn);
+- pt_entry_t *pteptr = vtopte(addr);
++ pt_entry_t *pteptr = vtopte((vm_offset_t)addr);
+ PTE pte;
+
+ DEB(printf("FindMPN: for page %d address %p(phys %p) pteptr %p", ppn, addr, (caddr_t)vtophys(addr), pteptr));