diff options
author | alc <alc@FreeBSD.org> | 2004-04-10 23:28:49 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-04-10 23:28:49 +0000 |
commit | f93d7d42401856c122e76640fdc4e7f020fcc518 (patch) | |
tree | 5991e03a8e3178cbe4bce29e88e64b08cb8bbe95 /sys/i386 | |
parent | c380417937afef2b2c96a56198d84643e6c657de (diff) | |
download | FreeBSD-src-f93d7d42401856c122e76640fdc4e7f020fcc518.zip FreeBSD-src-f93d7d42401856c122e76640fdc4e7f020fcc518.tar.gz |
- pmap_kenter_temporary()'s first parameter, which is a physical address,
should be declared as vm_paddr_t not vm_offset_t.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/pmap.c | 2 | ||||
-rw-r--r-- | sys/i386/include/pmap.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 334890c..e3fe15a 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -2144,7 +2144,7 @@ retry: * to be used for panic dumps. */ void * -pmap_kenter_temporary(vm_offset_t pa, int i) +pmap_kenter_temporary(vm_paddr_t pa, int i) { vm_offset_t va; diff --git a/sys/i386/include/pmap.h b/sys/i386/include/pmap.h index eebe26d..7a99d9d 100644 --- a/sys/i386/include/pmap.h +++ b/sys/i386/include/pmap.h @@ -330,7 +330,7 @@ extern vm_offset_t virtual_end; void pmap_bootstrap(vm_paddr_t, vm_paddr_t); void pmap_kenter(vm_offset_t va, vm_paddr_t pa); -void *pmap_kenter_temporary(vm_offset_t pa, int i); +void *pmap_kenter_temporary(vm_paddr_t pa, int i); void pmap_kremove(vm_offset_t); void *pmap_mapdev(vm_paddr_t, vm_size_t); void pmap_unmapdev(vm_offset_t, vm_size_t); |