pmap.c (181946) | pmap.c (182902) |
---|---|
1/*- 2 * Copyright (c) 1991 Regents of the University of California. 3 * All rights reserved. 4 * Copyright (c) 1994 John S. Dyson 5 * All rights reserved. 6 * Copyright (c) 1994 David Greenman 7 * All rights reserved. 8 * Copyright (c) 2005 Alan L. Cox <alc@cs.rice.edu> --- 61 unchanged lines hidden (view full) --- 70 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 71 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 72 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 73 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 74 * SUCH DAMAGE. 75 */ 76 77#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1991 Regents of the University of California. 3 * All rights reserved. 4 * Copyright (c) 1994 John S. Dyson 5 * All rights reserved. 6 * Copyright (c) 1994 David Greenman 7 * All rights reserved. 8 * Copyright (c) 2005 Alan L. Cox <alc@cs.rice.edu> --- 61 unchanged lines hidden (view full) --- 70 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 71 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 72 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 73 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 74 * SUCH DAMAGE. 75 */ 76 77#include <sys/cdefs.h> |
78__FBSDID("$FreeBSD: head/sys/i386/xen/pmap.c 181946 2008-08-21 02:57:02Z kmacy $"); | 78__FBSDID("$FreeBSD: head/sys/i386/xen/pmap.c 182902 2008-09-10 07:11:08Z kmacy $"); |
79 80/* 81 * Manages physical address maps. 82 * 83 * In addition to hardware address maps, this 84 * module is called upon to provide software-use-only 85 * maps which may or may not be stored in the same 86 * form as hardware maps. These pseudo-maps are --- 119 unchanged lines hidden (view full) --- 206static struct pmaplist allpmaps; 207static struct mtx allpmaps_lock; 208 209vm_offset_t virtual_avail; /* VA of first avail page (after kernel bss) */ 210vm_offset_t virtual_end; /* VA of last avail page (end of kernel AS) */ 211int pgeflag = 0; /* PG_G or-in */ 212int pseflag = 0; /* PG_PS or-in */ 213 | 79 80/* 81 * Manages physical address maps. 82 * 83 * In addition to hardware address maps, this 84 * module is called upon to provide software-use-only 85 * maps which may or may not be stored in the same 86 * form as hardware maps. These pseudo-maps are --- 119 unchanged lines hidden (view full) --- 206static struct pmaplist allpmaps; 207static struct mtx allpmaps_lock; 208 209vm_offset_t virtual_avail; /* VA of first avail page (after kernel bss) */ 210vm_offset_t virtual_end; /* VA of last avail page (end of kernel AS) */ 211int pgeflag = 0; /* PG_G or-in */ 212int pseflag = 0; /* PG_PS or-in */ 213 |
214static int nkpt; | 214int nkpt; |
215vm_offset_t kernel_vm_end; 216extern u_int32_t KERNend; 217 218#ifdef PAE 219pt_entry_t pg_nx; 220#if !defined(XEN) 221static uma_zone_t pdptzone; 222#endif --- 3986 unchanged lines hidden --- | 215vm_offset_t kernel_vm_end; 216extern u_int32_t KERNend; 217 218#ifdef PAE 219pt_entry_t pg_nx; 220#if !defined(XEN) 221static uma_zone_t pdptzone; 222#endif --- 3986 unchanged lines hidden --- |