diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2003-02-23 13:26:21 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2003-02-23 13:26:21 +0000 |
| commit | 0f46d10b5c0b98bc7ac482e061f56059cd588289 (patch) | |
| tree | fbfc73cfe7c96b6cd94bfcfc3b0710b113934807 | |
| parent | 82bbd989e70f649a6c7e40cfcd12123041be6968 (diff) | |
Notes
| -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 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 |
