From 0f46d10b5c0b98bc7ac482e061f56059cd588289 Mon Sep 17 00:00:00 2001 From: Yoshihiro Takahashi Date: Sun, 23 Feb 2003 13:26:21 +0000 Subject: [PATCH] MFi386: revision 1.554. --- sys/pc98/i386/machdep.c | 2 +- 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 4aa649b3673..f02c6b9ace7 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 4aa649b3673..f02c6b9ace7 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 -- 2.45.2