summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2003-02-23 13:26:21 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2003-02-23 13:26:21 +0000
commit0f46d10b5c0b98bc7ac482e061f56059cd588289 (patch)
treefbfc73cfe7c96b6cd94bfcfc3b0710b113934807
parent82bbd989e70f649a6c7e40cfcd12123041be6968 (diff)
Notes
-rw-r--r--sys/pc98/i386/machdep.c2
-rw-r--r--sys/pc98/pc98/machdep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 4aa649b3673e..f02c6b9ace75 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 4aa649b3673e..f02c6b9ace75 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