277 |
page should be wired (swapable). */ |
page should be wired (swapable). */ |
278 |
|
|
279 |
extern void pmap_enter (struct pmap *pmap, vm_offset_t va, vm_offset_t pa, |
extern void pmap_enter (struct pmap *pmap, vm_offset_t va, vm_offset_t pa, |
280 |
vm_prot_t protection); |
vm_prot_t protection, int wired_p); |
281 |
#define PMAP_ENTER(PMAP, VA, PA, PROT, WIRED_P) pmap_enter (PMAP, VA, PA, PROT) |
#define PMAP_ENTER(PMAP, VA, PA, PROT, WIRED_P) \ |
282 |
|
pmap_enter (PMAP, VA, PA, PROT, WIRED_P) |
283 |
|
|
284 |
/* Enter a range of pages into PMAP. Range starts at START and ends at |
/* Enter a range of pages into PMAP. Range starts at START and ends at |
285 |
END. PA is the address of the physical page. WIRED_P is true if the |
END. PA is the address of the physical page. WIRED_P is true if the |
287 |
|
|
288 |
extern void pmap_enter_range (struct pmap *pmap, vm_offset_t start, |
extern void pmap_enter_range (struct pmap *pmap, vm_offset_t start, |
289 |
vm_offset_t end, vm_offset_t pa, |
vm_offset_t end, vm_offset_t pa, |
290 |
vm_prot_t protection); |
vm_prot_t protection, int wired_p); |
291 |
#define PMAP_ENTER_RANGE(PMAP, START, END, PA, PROT, WIRED_P) \ |
#define PMAP_ENTER_RANGE(PMAP, START, END, PA, PROT, WIRED_P) \ |
292 |
pmap_enter_range (PMAP, START, END, PA, PROT) |
pmap_enter_range (PMAP, START, END, PA, PROT, WIRED_P) |
293 |
|
|
294 |
/* Function for stealing physical memory before the VM system is up |
/* Function for stealing physical memory before the VM system is up |
295 |
and running. SIZE is rounded to whole pages. */ |
and running. SIZE is rounded to whole pages. */ |