diff options
| author | Paul Saab <ps@FreeBSD.org> | 2000-10-17 10:05:49 +0000 |
|---|---|---|
| committer | Paul Saab <ps@FreeBSD.org> | 2000-10-17 10:05:49 +0000 |
| commit | c794ceb56a6ff6601c150cc72d68824a2ec295c5 (patch) | |
| tree | 44fb5dd9c3a167bb7217b50d32005aa46a786aa3 /sys/ia64 | |
| parent | 0eed4af9fa715945c4ef54bffdff097162525cf5 (diff) | |
Notes
Diffstat (limited to 'sys/ia64')
| -rw-r--r-- | sys/ia64/ia64/pmap.c | 4 | ||||
| -rw-r--r-- | sys/ia64/include/param.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c index ea7a928bd0ade..b438906f97037 100644 --- a/sys/ia64/ia64/pmap.c +++ b/sys/ia64/ia64/pmap.c @@ -1478,9 +1478,9 @@ pmap_enter_quick(pmap_t pmap, vm_offset_t va, vm_page_t m) * during dump. */ void * -pmap_kenter_temporary(vm_offset_t pa) +pmap_kenter_temporary(vm_offset_t pa, int i) { - return (void *) IA64_PHYS_TO_RR7(pa); + return (void *) IA64_PHYS_TO_RR7(pa - (i * PAGE_SIZE)); } #define MAX_INIT_PT (96) diff --git a/sys/ia64/include/param.h b/sys/ia64/include/param.h index 577356a450ccc..f061848ddaa74 100644 --- a/sys/ia64/include/param.h +++ b/sys/ia64/include/param.h @@ -103,6 +103,7 @@ #endif #define DFLTPHYS (64 * 1024) /* default max raw I/O transfer size */ #define MAXPHYS (128 * 1024) /* max raw I/O transfer size */ +#define MAXDUMPPGS (DFLTPHYS/PAGE_SIZE) #define CLSIZE 1 #define CLSIZELOG2 0 |
