Deleted Added
full compact
pmap.h (158060) pmap.h (158236)
1/*-
2 * Copyright (c) 1991 Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * the Systems Programming Group of the University of Utah Computer
7 * Science Department and William Jolitz of UUNET Technologies Inc.
8 *

--- 24 unchanged lines hidden (view full) ---

33 * Derived from hp300 version by Mike Hibler, this version by William
34 * Jolitz uses a recursive map [a pde points to the page directory] to
35 * map the page tables using the pagetables themselves. This is done to
36 * reduce the impact on kernel virtual memory for lots of sparse address
37 * space, and to reduce the cost of memory to each process.
38 *
39 * from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90
40 * from: @(#)pmap.h 7.4 (Berkeley) 5/12/91
1/*-
2 * Copyright (c) 1991 Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * the Systems Programming Group of the University of Utah Computer
7 * Science Department and William Jolitz of UUNET Technologies Inc.
8 *

--- 24 unchanged lines hidden (view full) ---

33 * Derived from hp300 version by Mike Hibler, this version by William
34 * Jolitz uses a recursive map [a pde points to the page directory] to
35 * map the page tables using the pagetables themselves. This is done to
36 * reduce the impact on kernel virtual memory for lots of sparse address
37 * space, and to reduce the cost of memory to each process.
38 *
39 * from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90
40 * from: @(#)pmap.h 7.4 (Berkeley) 5/12/91
41 * $FreeBSD: head/sys/i386/include/pmap.h 158060 2006-04-26 21:49:20Z peter $
41 * $FreeBSD: head/sys/i386/include/pmap.h 158236 2006-05-01 21:36:47Z jhb $
42 */
43
44#ifndef _MACHINE_PMAP_H_
45#define _MACHINE_PMAP_H_
46
47/*
48 * Page-directory and page-table entries follow this format, with a few
49 * of the fields not present here and there, depending on a lot of things.

--- 323 unchanged lines hidden (view full) ---

373void pmap_kremove(vm_offset_t);
374void *pmap_mapdev(vm_paddr_t, vm_size_t);
375void pmap_unmapdev(vm_offset_t, vm_size_t);
376pt_entry_t *pmap_pte(pmap_t, vm_offset_t) __pure2;
377void pmap_set_pg(void);
378void pmap_invalidate_page(pmap_t, vm_offset_t);
379void pmap_invalidate_range(pmap_t, vm_offset_t, vm_offset_t);
380void pmap_invalidate_all(pmap_t);
42 */
43
44#ifndef _MACHINE_PMAP_H_
45#define _MACHINE_PMAP_H_
46
47/*
48 * Page-directory and page-table entries follow this format, with a few
49 * of the fields not present here and there, depending on a lot of things.

--- 323 unchanged lines hidden (view full) ---

373void pmap_kremove(vm_offset_t);
374void *pmap_mapdev(vm_paddr_t, vm_size_t);
375void pmap_unmapdev(vm_offset_t, vm_size_t);
376pt_entry_t *pmap_pte(pmap_t, vm_offset_t) __pure2;
377void pmap_set_pg(void);
378void pmap_invalidate_page(pmap_t, vm_offset_t);
379void pmap_invalidate_range(pmap_t, vm_offset_t, vm_offset_t);
380void pmap_invalidate_all(pmap_t);
381void pmap_invalidate_cache(void);
381
382#endif /* _KERNEL */
383
384#endif /* !LOCORE */
385
386#endif /* !_MACHINE_PMAP_H_ */
382
383#endif /* _KERNEL */
384
385#endif /* !LOCORE */
386
387#endif /* !_MACHINE_PMAP_H_ */