Rename pmap_kenter_temp to pmap_kenter_temporary to be consistent with the
other architectures with this function. Submitted by: Svatopluk Kraus <onwahe at gmail.com> Submitted by: Michal Meloun <meloun at miracle.cz>
This commit is contained in:
parent
3275dab818
commit
0808eece71
@ -154,7 +154,7 @@ blk_write(struct dumperinfo *di, char *ptr, vm_paddr_t pa, size_t sz)
|
||||
sz -= len;
|
||||
} else {
|
||||
for (i = 0; i < len; i += PAGE_SIZE)
|
||||
dump_va = pmap_kenter_temp(pa + i,
|
||||
dump_va = pmap_kenter_temporary(pa + i,
|
||||
(i + fragsz) >> PAGE_SHIFT);
|
||||
fragsz += len;
|
||||
pa += len;
|
||||
@ -244,7 +244,7 @@ minidumpsys(struct dumperinfo *di)
|
||||
}
|
||||
if (pmap_pde_v(pdp) && pmap_pde_page(pdp)) {
|
||||
/* Set bit for each valid page in this 1MB block */
|
||||
addr = pmap_kenter_temp(*pdp & L1_C_ADDR_MASK, 0);
|
||||
addr = pmap_kenter_temporary(*pdp & L1_C_ADDR_MASK, 0);
|
||||
pt = (pt_entry_t*)(addr +
|
||||
(((uint32_t)*pdp & L1_C_ADDR_MASK) & PAGE_MASK));
|
||||
for (k = 0; k < 256; k++) {
|
||||
|
@ -2369,7 +2369,7 @@ pmap_kenter_section(vm_offset_t va, vm_offset_t pa, int flags)
|
||||
* to be used for panic dumps.
|
||||
*/
|
||||
void *
|
||||
pmap_kenter_temp(vm_paddr_t pa, int i)
|
||||
pmap_kenter_temporary(vm_paddr_t pa, int i)
|
||||
{
|
||||
vm_offset_t va;
|
||||
|
||||
|
@ -2663,7 +2663,7 @@ pmap_kenter_section(vm_offset_t va, vm_offset_t pa, int flags)
|
||||
* to be used for panic dumps.
|
||||
*/
|
||||
void *
|
||||
pmap_kenter_temp(vm_paddr_t pa, int i)
|
||||
pmap_kenter_temporary(vm_paddr_t pa, int i)
|
||||
{
|
||||
vm_offset_t va;
|
||||
|
||||
|
@ -256,7 +256,7 @@ int pmap_change_attr(vm_offset_t, vm_size_t, int);
|
||||
void pmap_kenter(vm_offset_t va, vm_paddr_t pa);
|
||||
void pmap_kenter_nocache(vm_offset_t va, vm_paddr_t pa);
|
||||
void pmap_kenter_device(vm_offset_t va, vm_paddr_t pa);
|
||||
void *pmap_kenter_temp(vm_paddr_t pa, int i);
|
||||
void *pmap_kenter_temporary(vm_paddr_t pa, int i);
|
||||
void pmap_kenter_user(vm_offset_t va, vm_paddr_t pa);
|
||||
vm_paddr_t pmap_kextract(vm_offset_t va);
|
||||
void pmap_kremove(vm_offset_t);
|
||||
|
Loading…
Reference in New Issue
Block a user