Deleted Added
full compact
pmap.h (223800) pmap.h (236214)
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 *

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

28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90
34 * from: @(#)pmap.h 7.4 (Berkeley) 5/12/91
35 * from: FreeBSD: src/sys/i386/include/pmap.h,v 1.70 2000/11/30
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 *

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

28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90
34 * from: @(#)pmap.h 7.4 (Berkeley) 5/12/91
35 * from: FreeBSD: src/sys/i386/include/pmap.h,v 1.70 2000/11/30
36 * $FreeBSD: head/sys/sparc64/include/pmap.h 223800 2011-07-05 18:50:40Z marius $
36 * $FreeBSD: head/sys/sparc64/include/pmap.h 236214 2012-05-29 01:52:38Z alc $
37 */
38
39#ifndef _MACHINE_PMAP_H_
40#define _MACHINE_PMAP_H_
41
42#include <sys/queue.h>
43#include <sys/_cpuset.h>
44#include <sys/_lock.h>
45#include <sys/_mutex.h>
37 */
38
39#ifndef _MACHINE_PMAP_H_
40#define _MACHINE_PMAP_H_
41
42#include <sys/queue.h>
43#include <sys/_cpuset.h>
44#include <sys/_lock.h>
45#include <sys/_mutex.h>
46#include <sys/_rwlock.h>
46#include <machine/cache.h>
47#include <machine/tte.h>
48
49#define PMAP_CONTEXT_MAX 8192
50
51typedef struct pmap *pmap_t;
52
53struct md_page {

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

96
97void pmap_map_tsb(void);
98void pmap_set_kctx(void);
99
100#define vtophys(va) pmap_kextract((vm_offset_t)(va))
101
102extern struct pmap kernel_pmap_store;
103#define kernel_pmap (&kernel_pmap_store)
47#include <machine/cache.h>
48#include <machine/tte.h>
49
50#define PMAP_CONTEXT_MAX 8192
51
52typedef struct pmap *pmap_t;
53
54struct md_page {

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

97
98void pmap_map_tsb(void);
99void pmap_set_kctx(void);
100
101#define vtophys(va) pmap_kextract((vm_offset_t)(va))
102
103extern struct pmap kernel_pmap_store;
104#define kernel_pmap (&kernel_pmap_store)
105extern struct rwlock tte_list_global_lock;
104extern vm_paddr_t phys_avail[];
105extern vm_offset_t virtual_avail;
106extern vm_offset_t virtual_end;
107
108#ifdef PMAP_STATS
109
110SYSCTL_DECL(_debug_pmap_stats);
111

--- 16 unchanged lines hidden ---
106extern vm_paddr_t phys_avail[];
107extern vm_offset_t virtual_avail;
108extern vm_offset_t virtual_end;
109
110#ifdef PMAP_STATS
111
112SYSCTL_DECL(_debug_pmap_stats);
113

--- 16 unchanged lines hidden ---