mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
- pmap_kenter_temporary()'s first parameter, which is a physical address,
should be declared as vm_paddr_t not vm_offset_t.
This commit is contained in:
parent
b14d6acced
commit
0af0eeacb6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128098
@ -2144,7 +2144,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;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user