diff options
Diffstat (limited to 'emulators/vmware3/files/pmap.patch')
-rw-r--r-- | emulators/vmware3/files/pmap.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/vmware3/files/pmap.patch b/emulators/vmware3/files/pmap.patch new file mode 100644 index 000000000000..2a914e47c047 --- /dev/null +++ b/emulators/vmware3/files/pmap.patch @@ -0,0 +1,11 @@ +--- vmmon-only/freebsd/hostif.c.orig Tue Dec 4 20:49:08 2001 ++++ vmmon-only/freebsd/hostif.c Tue Dec 4 20:49:44 2001 +@@ -170,7 +170,7 @@ + { + #define DEB(x) + caddr_t addr = (caddr_t)VPN_2_VA(ppn); +- pt_entry_t pteptr = (pt_entry_t)vtopte(addr); ++ pt_entry_t *pteptr = vtopte(addr); + PTE pte; + + DEB(printf("FindMPN: for page %d address %p(phys %p) pteptr %p", ppn, addr, (caddr_t)vtophys(addr), pteptr)); |