diff options
author | kato <kato@FreeBSD.org> | 1999-06-17 11:09:39 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1999-06-17 11:09:39 +0000 |
commit | abd825f27cc52659e651953e65f79d8470ee2696 (patch) | |
tree | 4a93b0f9a85b10cf618f935536bd5db8dcb43935 | |
parent | b8ea7d756c6d40dbb96803a77f06224f406c9caf (diff) | |
download | FreeBSD-src-abd825f27cc52659e651953e65f79d8470ee2696.zip FreeBSD-src-abd825f27cc52659e651953e65f79d8470ee2696.tar.gz |
Sync with sys/i386/i386/machdep.c revision up to 1.341.
-rw-r--r-- | sys/pc98/i386/machdep.c | 7 | ||||
-rw-r--r-- | sys/pc98/pc98/machdep.c | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 37917bf..e0b85b1 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.117 1999/05/12 21:39:07 luoqi Exp $ + * $Id: machdep.c,v 1.118 1999/06/03 13:49:52 kato Exp $ */ #include "apm.h" @@ -1602,7 +1602,7 @@ physmap_done: * round up the start address and round down the end address. */ for (i = 0; i <= physmap_idx; i += 2) { - int end; + vm_offset_t end; end = ptoa(Maxmem); if (physmap[i + 1] < end) @@ -1902,8 +1902,7 @@ init386(first) /* Map the message buffer. */ for (off = 0; off < round_page(MSGBUF_SIZE); off += PAGE_SIZE) - pmap_enter(kernel_pmap, (vm_offset_t)msgbufp + off, - avail_end + off, VM_PROT_ALL, TRUE); + pmap_kenter((vm_offset_t)msgbufp + off, avail_end + off); msgbufinit(msgbufp, MSGBUF_SIZE); diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 37917bf..e0b85b1 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.117 1999/05/12 21:39:07 luoqi Exp $ + * $Id: machdep.c,v 1.118 1999/06/03 13:49:52 kato Exp $ */ #include "apm.h" @@ -1602,7 +1602,7 @@ physmap_done: * round up the start address and round down the end address. */ for (i = 0; i <= physmap_idx; i += 2) { - int end; + vm_offset_t end; end = ptoa(Maxmem); if (physmap[i + 1] < end) @@ -1902,8 +1902,7 @@ init386(first) /* Map the message buffer. */ for (off = 0; off < round_page(MSGBUF_SIZE); off += PAGE_SIZE) - pmap_enter(kernel_pmap, (vm_offset_t)msgbufp + off, - avail_end + off, VM_PROT_ALL, TRUE); + pmap_kenter((vm_offset_t)msgbufp + off, avail_end + off); msgbufinit(msgbufp, MSGBUF_SIZE); |