Deleted Added
full compact
pmap-v4.c (195779) pmap-v4.c (195840)
1/* From: $NetBSD: pmap.c,v 1.148 2004/04/03 04:35:48 bsh Exp $ */
2/*-
3 * Copyright 2004 Olivier Houchard.
4 * Copyright 2003 Wasabi Systems, Inc.
5 * All rights reserved.
6 *
7 * Written by Steve C. Woodford for Wasabi Systems, Inc.
8 *

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

142 * Special compilation symbols
143 * PMAP_DEBUG - Build in pmap_debug_level code
144 */
145/* Include header files */
146
147#include "opt_vm.h"
148
149#include <sys/cdefs.h>
1/* From: $NetBSD: pmap.c,v 1.148 2004/04/03 04:35:48 bsh Exp $ */
2/*-
3 * Copyright 2004 Olivier Houchard.
4 * Copyright 2003 Wasabi Systems, Inc.
5 * All rights reserved.
6 *
7 * Written by Steve C. Woodford for Wasabi Systems, Inc.
8 *

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

142 * Special compilation symbols
143 * PMAP_DEBUG - Build in pmap_debug_level code
144 */
145/* Include header files */
146
147#include "opt_vm.h"
148
149#include <sys/cdefs.h>
150__FBSDID("$FreeBSD: head/sys/arm/arm/pmap.c 195779 2009-07-20 07:53:07Z raj $");
150__FBSDID("$FreeBSD: head/sys/arm/arm/pmap.c 195840 2009-07-24 13:50:29Z jhb $");
151#include <sys/param.h>
152#include <sys/systm.h>
153#include <sys/kernel.h>
154#include <sys/ktr.h>
155#include <sys/proc.h>
156#include <sys/malloc.h>
157#include <sys/msgbuf.h>
158#include <sys/vmmeter.h>

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

3096 * faults on process startup and immediately after an mmap.
3097 */
3098void
3099pmap_object_init_pt(pmap_t pmap, vm_offset_t addr, vm_object_t object,
3100 vm_pindex_t pindex, vm_size_t size)
3101{
3102
3103 VM_OBJECT_LOCK_ASSERT(object, MA_OWNED);
151#include <sys/param.h>
152#include <sys/systm.h>
153#include <sys/kernel.h>
154#include <sys/ktr.h>
155#include <sys/proc.h>
156#include <sys/malloc.h>
157#include <sys/msgbuf.h>
158#include <sys/vmmeter.h>

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

3096 * faults on process startup and immediately after an mmap.
3097 */
3098void
3099pmap_object_init_pt(pmap_t pmap, vm_offset_t addr, vm_object_t object,
3100 vm_pindex_t pindex, vm_size_t size)
3101{
3102
3103 VM_OBJECT_LOCK_ASSERT(object, MA_OWNED);
3104 KASSERT(object->type == OBJT_DEVICE,
3104 KASSERT(object->type == OBJT_DEVICE || object->type == OBJT_SG,
3105 ("pmap_object_init_pt: non-device object"));
3106}
3107
3108
3109/*
3110 * pmap_is_prefaultable:
3111 *
3112 * Return whether or not the specified virtual address is elgible

--- 1835 unchanged lines hidden ---
3105 ("pmap_object_init_pt: non-device object"));
3106}
3107
3108
3109/*
3110 * pmap_is_prefaultable:
3111 *
3112 * Return whether or not the specified virtual address is elgible

--- 1835 unchanged lines hidden ---