pmap.h (157446) | pmap.h (158236) |
---|---|
1/*- 2 * Copyright (c) 2003 Peter Wemm. 3 * Copyright (c) 1991 Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the Systems Programming Group of the University of Utah Computer 8 * Science Department and William Jolitz of UUNET Technologies Inc. --- 25 unchanged lines hidden (view full) --- 34 * Derived from hp300 version by Mike Hibler, this version by William 35 * Jolitz uses a recursive map [a pde points to the page directory] to 36 * map the page tables using the pagetables themselves. This is done to 37 * reduce the impact on kernel virtual memory for lots of sparse address 38 * space, and to reduce the cost of memory to each process. 39 * 40 * from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90 41 * from: @(#)pmap.h 7.4 (Berkeley) 5/12/91 | 1/*- 2 * Copyright (c) 2003 Peter Wemm. 3 * Copyright (c) 1991 Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the Systems Programming Group of the University of Utah Computer 8 * Science Department and William Jolitz of UUNET Technologies Inc. --- 25 unchanged lines hidden (view full) --- 34 * Derived from hp300 version by Mike Hibler, this version by William 35 * Jolitz uses a recursive map [a pde points to the page directory] to 36 * map the page tables using the pagetables themselves. This is done to 37 * reduce the impact on kernel virtual memory for lots of sparse address 38 * space, and to reduce the cost of memory to each process. 39 * 40 * from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90 41 * from: @(#)pmap.h 7.4 (Berkeley) 5/12/91 |
42 * $FreeBSD: head/sys/amd64/include/pmap.h 157446 2006-04-03 21:36:01Z peter $ | 42 * $FreeBSD: head/sys/amd64/include/pmap.h 158236 2006-05-01 21:36:47Z jhb $ |
43 */ 44 45#ifndef _MACHINE_PMAP_H_ 46#define _MACHINE_PMAP_H_ 47 48/* 49 * Page-directory and page-table entries follow this format, with a few 50 * of the fields not present here and there, depending on a lot of things. --- 253 unchanged lines hidden (view full) --- 304void *pmap_kenter_temporary(vm_paddr_t pa, int i); 305vm_paddr_t pmap_kextract(vm_offset_t); 306void pmap_kremove(vm_offset_t); 307void *pmap_mapdev(vm_paddr_t, vm_size_t); 308void pmap_unmapdev(vm_offset_t, vm_size_t); 309void pmap_invalidate_page(pmap_t, vm_offset_t); 310void pmap_invalidate_range(pmap_t, vm_offset_t, vm_offset_t); 311void pmap_invalidate_all(pmap_t); | 43 */ 44 45#ifndef _MACHINE_PMAP_H_ 46#define _MACHINE_PMAP_H_ 47 48/* 49 * Page-directory and page-table entries follow this format, with a few 50 * of the fields not present here and there, depending on a lot of things. --- 253 unchanged lines hidden (view full) --- 304void *pmap_kenter_temporary(vm_paddr_t pa, int i); 305vm_paddr_t pmap_kextract(vm_offset_t); 306void pmap_kremove(vm_offset_t); 307void *pmap_mapdev(vm_paddr_t, vm_size_t); 308void pmap_unmapdev(vm_offset_t, vm_size_t); 309void pmap_invalidate_page(pmap_t, vm_offset_t); 310void pmap_invalidate_range(pmap_t, vm_offset_t, vm_offset_t); 311void pmap_invalidate_all(pmap_t); |
312void pmap_invalidate_cache(void); |
|
312 313#endif /* _KERNEL */ 314 315#endif /* !LOCORE */ 316 317#endif /* !_MACHINE_PMAP_H_ */ | 313 314#endif /* _KERNEL */ 315 316#endif /* !LOCORE */ 317 318#endif /* !_MACHINE_PMAP_H_ */ |