diff options
author | nyan <nyan@FreeBSD.org> | 2003-02-23 13:26:21 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2003-02-23 13:26:21 +0000 |
commit | 00647e3f48ec3e289ea3bed09ac0b1db1993f9ed (patch) | |
tree | fbfc73cfe7c96b6cd94bfcfc3b0710b113934807 /sys | |
parent | 1285e0e22b2b0849d8ab7b346bf422dd78bc667d (diff) | |
download | FreeBSD-src-00647e3f48ec3e289ea3bed09ac0b1db1993f9ed.zip FreeBSD-src-00647e3f48ec3e289ea3bed09ac0b1db1993f9ed.tar.gz |
MFi386: revision 1.554.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pc98/i386/machdep.c | 2 | ||||
-rw-r--r-- | sys/pc98/pc98/machdep.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 4aa649b..f02c6b9 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -1573,7 +1573,7 @@ getmemsize(int first) * map page 1 R/W into the kernel page table so we can use it * as a buffer. The kernel will unmap this page later. */ - pmap_kenter(KERNBASE + (1 << PAGE_SHIFT), 1); + pmap_kenter(KERNBASE + (1 << PAGE_SHIFT), 1 << PAGE_SHIFT); /* * get memory map with INT 15:E820 diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 4aa649b..f02c6b9 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -1573,7 +1573,7 @@ getmemsize(int first) * map page 1 R/W into the kernel page table so we can use it * as a buffer. The kernel will unmap this page later. */ - pmap_kenter(KERNBASE + (1 << PAGE_SHIFT), 1); + pmap_kenter(KERNBASE + (1 << PAGE_SHIFT), 1 << PAGE_SHIFT); /* * get memory map with INT 15:E820 |