Deleted Added
full compact
pmap-v4.c (169756) pmap-v4.c (169763)
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 169756 2007-05-19 12:47:34Z cognet $");
150__FBSDID("$FreeBSD: head/sys/arm/arm/pmap.c 169763 2007-05-19 13:21:41Z cognet $");
151#include <sys/param.h>
152#include <sys/systm.h>
153#include <sys/kernel.h>
154#include <sys/proc.h>
155#include <sys/malloc.h>
156#include <sys/msgbuf.h>
157#include <sys/vmmeter.h>
158#include <sys/mman.h>

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

2905 * as we use one of these addresses in the exception handlers.
2906 */
2907 pmap_fault_fixup(pmap_kernel(), va, VM_PROT_READ|VM_PROT_WRITE, 1);
2908}
2909
2910/*
2911 * remove a page rom the kernel pagetables
2912 */
151#include <sys/param.h>
152#include <sys/systm.h>
153#include <sys/kernel.h>
154#include <sys/proc.h>
155#include <sys/malloc.h>
156#include <sys/msgbuf.h>
157#include <sys/vmmeter.h>
158#include <sys/mman.h>

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

2905 * as we use one of these addresses in the exception handlers.
2906 */
2907 pmap_fault_fixup(pmap_kernel(), va, VM_PROT_READ|VM_PROT_WRITE, 1);
2908}
2909
2910/*
2911 * remove a page rom the kernel pagetables
2912 */
2913PMAP_INLINE void
2913void
2914pmap_kremove(vm_offset_t va)
2915{
2916 struct l2_bucket *l2b;
2917 pt_entry_t *pte, opte;
2918
2919 l2b = pmap_get_l2_bucket(pmap_kernel(), va);
2920 if (!l2b)
2921 return;

--- 1928 unchanged lines hidden ---
2914pmap_kremove(vm_offset_t va)
2915{
2916 struct l2_bucket *l2b;
2917 pt_entry_t *pte, opte;
2918
2919 l2b = pmap_get_l2_bucket(pmap_kernel(), va);
2920 if (!l2b)
2921 return;

--- 1928 unchanged lines hidden ---