1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

For consistency with i386, have pmap_kenter_temporary() take a vm_paddr_t

argument.  It is actually the same type on amd64 (vm_paddr_t = vm_offset_t)
but this reduces the i386<->amd64 diffs a little.
This commit is contained in:
Peter Wemm 2004-05-16 20:44:41 +00:00
parent 6a50100135
commit 792e29ba26
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129286
2 changed files with 2 additions and 2 deletions

View File

@ -2174,7 +2174,7 @@ pmap_enter_quick(pmap_t pmap, vm_offset_t va, vm_page_t m, vm_page_t mpte)
* 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;

View File

@ -263,7 +263,7 @@ extern vm_offset_t virtual_end;
void pmap_bootstrap(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);