mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
eb9f710310
Note that the OSVERSION test is inexact. The type change happened after 500027, but since there's no 500028 yet and making one specifically for this port is considered overkill we hope to get away with it. Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp> Approved by: Vladimir N. Silyaev <vsilyaev@mindspring.com> Coordinated by: Mark Santcroos <marks@ripe.net> :-)
12 lines
420 B
Diff
12 lines
420 B
Diff
--- 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));
|