pmap.h (9268022b74279434ed6300244e3f977e56a8ceb5) pmap.h (bdb9ab0dd925b804280af9ecbdb01ceea66a6088)
1/*-
2 * Copyright (C) 2006 Semihalf, Marian Balakowicz <m8@semihalf.com>
3 * All rights reserved.
4 *
5 * Adapted for Freescale's e500 core CPUs.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

69#include <sys/_cpuset.h>
70#include <sys/_lock.h>
71#include <sys/_mutex.h>
72#include <machine/sr.h>
73#include <machine/pte.h>
74#include <machine/slb.h>
75#include <machine/tlb.h>
76
1/*-
2 * Copyright (C) 2006 Semihalf, Marian Balakowicz <m8@semihalf.com>
3 * All rights reserved.
4 *
5 * Adapted for Freescale's e500 core CPUs.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

69#include <sys/_cpuset.h>
70#include <sys/_lock.h>
71#include <sys/_mutex.h>
72#include <machine/sr.h>
73#include <machine/pte.h>
74#include <machine/slb.h>
75#include <machine/tlb.h>
76
77struct pmap_md {
78 u_int md_index;
79 vm_paddr_t md_paddr;
80 vm_offset_t md_vaddr;
81 vm_size_t md_size;
82};
83
84#if defined(AIM)
85
86#if !defined(NPMAPS)
87#define NPMAPS 32768
88#endif /* !defined(NPMAPS) */
89
90struct slbtnode;
91struct pmap;

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

247extern vm_offset_t phys_avail[PHYS_AVAIL_SZ];
248extern vm_offset_t virtual_avail;
249extern vm_offset_t virtual_end;
250
251extern vm_offset_t msgbuf_phys;
252
253extern int pmap_bootstrapped;
254
77#if defined(AIM)
78
79#if !defined(NPMAPS)
80#define NPMAPS 32768
81#endif /* !defined(NPMAPS) */
82
83struct slbtnode;
84struct pmap;

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

240extern vm_offset_t phys_avail[PHYS_AVAIL_SZ];
241extern vm_offset_t virtual_avail;
242extern vm_offset_t virtual_end;
243
244extern vm_offset_t msgbuf_phys;
245
246extern int pmap_bootstrapped;
247
255extern vm_offset_t pmap_dumpsys_map(struct pmap_md *, vm_size_t, vm_size_t *);
256extern void pmap_dumpsys_unmap(struct pmap_md *, vm_size_t, vm_offset_t);
257
258extern struct pmap_md *pmap_scan_md(struct pmap_md *);
259
260vm_offset_t pmap_early_io_map(vm_paddr_t pa, vm_size_t size);
261
262#endif
263
264#endif /* !_MACHINE_PMAP_H_ */
248vm_offset_t pmap_early_io_map(vm_paddr_t pa, vm_size_t size);
249
250#endif
251
252#endif /* !_MACHINE_PMAP_H_ */