Deleted Added
full compact
pmap.c (269728) pmap.c (283248)
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 *

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

54 * this module may delay invalidate or reduced protection
55 * operations until such time as they are actually
56 * necessary. This module is given full information as
57 * to which processors are currently using which maps,
58 * and to when physical maps must be made correct.
59 */
60
61#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 *

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

54 * this module may delay invalidate or reduced protection
55 * operations until such time as they are actually
56 * necessary. This module is given full information as
57 * to which processors are currently using which maps,
58 * and to when physical maps must be made correct.
59 */
60
61#include <sys/cdefs.h>
62__FBSDID("$FreeBSD: head/sys/mips/mips/pmap.c 269728 2014-08-08 17:12:03Z kib $");
62__FBSDID("$FreeBSD: head/sys/mips/mips/pmap.c 283248 2015-05-21 15:16:18Z pfg $");
63
64#include "opt_ddb.h"
65#include "opt_pmap.h"
66
67#include <sys/param.h>
68#include <sys/systm.h>
69#include <sys/lock.h>
70#include <sys/mman.h>

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

3238 pmap_t pmap;
3239 struct thread *td = NULL;
3240 struct proc *p;
3241 int i, j, k;
3242 vm_paddr_t pa;
3243 vm_offset_t va;
3244
3245 if (have_addr) {
63
64#include "opt_ddb.h"
65#include "opt_pmap.h"
66
67#include <sys/param.h>
68#include <sys/systm.h>
69#include <sys/lock.h>
70#include <sys/mman.h>

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

3238 pmap_t pmap;
3239 struct thread *td = NULL;
3240 struct proc *p;
3241 int i, j, k;
3242 vm_paddr_t pa;
3243 vm_offset_t va;
3244
3245 if (have_addr) {
3246 td = db_lookup_thread(addr, TRUE);
3246 td = db_lookup_thread(addr, true);
3247 if (td == NULL) {
3248 db_printf("Invalid pid or tid");
3249 return;
3250 }
3251 p = td->td_proc;
3252 if (p->p_vmspace == NULL) {
3253 db_printf("No vmspace for process");
3254 return;

--- 262 unchanged lines hidden ---
3247 if (td == NULL) {
3248 db_printf("Invalid pid or tid");
3249 return;
3250 }
3251 p = td->td_proc;
3252 if (p->p_vmspace == NULL) {
3253 db_printf("No vmspace for process");
3254 return;

--- 262 unchanged lines hidden ---