Don't need to declare phys_map - it is declared in <uvm/uvm_extern.h>.

This commit is contained in:
simonb 2002-03-04 02:43:22 +00:00
parent bc7301d415
commit 6f0fb25121
15 changed files with 20 additions and 50 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.63 2002/01/28 09:56:49 aymeric Exp $ */
/* $NetBSD: vm_machdep.c,v 1.64 2002/03/04 02:43:22 simonb Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.63 2002/01/28 09:56:49 aymeric Exp $");
__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.64 2002/03/04 02:43:22 simonb Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -326,8 +326,6 @@ kvtop(addr)
return (pa);
}
extern struct vm_map *phys_map;
/*
* Map a user I/O request into kernel virtual address space.
* Note: the pages are already locked by uvm_vslock(), so we

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.14 2002/02/26 15:13:28 simonb Exp $ */
/* $NetBSD: vm_machdep.c,v 1.15 2002/03/04 02:43:23 simonb Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@ -306,8 +306,6 @@ pagemove(from, to, size)
//cpu_tlb_flushD();
}
extern struct vm_map *phys_map;
/*
* Map a user I/O request into kernel virtual address space.
* Note: the pages are already locked by uvm_vslock(), so we

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.19 2001/09/10 21:19:33 chris Exp $ */
/* $NetBSD: vm_machdep.c,v 1.20 2002/03/04 02:43:23 simonb Exp $ */
/*-
* Copyright (c) 2000, 2001 Ben Harris
@ -66,7 +66,7 @@
#include <sys/param.h>
__RCSID("$NetBSD: vm_machdep.c,v 1.19 2001/09/10 21:19:33 chris Exp $");
__RCSID("$NetBSD: vm_machdep.c,v 1.20 2002/03/04 02:43:23 simonb Exp $");
#include <sys/buf.h>
#include <sys/mount.h> /* XXX syscallargs.h uses fhandle_t and fsid_t */
@ -81,8 +81,6 @@ __RCSID("$NetBSD: vm_machdep.c,v 1.19 2001/09/10 21:19:33 chris Exp $");
#include <machine/intr.h>
#include <machine/machdep.h>
extern struct vm_map *phys_map; /* XXX where? */
/*
* Finish a fork operation, with process p2 nearly set up.
* Copy and update the pcb and trap frame, making the child ready to run.

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.41 2002/02/26 15:13:29 simonb Exp $ */
/* $NetBSD: vm_machdep.c,v 1.42 2002/03/04 02:43:23 simonb Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -321,8 +321,6 @@ kvtop(addr)
return(pa);
}
extern struct vm_map *phys_map;
/*
* Map a user I/O request into kernel virtual address space.
* Note: the pages are already locked by uvm_vslock(), so we

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.8 2002/02/26 15:13:30 simonb Exp $ */
/* $NetBSD: vm_machdep.c,v 1.9 2002/03/04 02:43:23 simonb Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -281,8 +281,6 @@ kvtop(addr)
return((int)pa);
}
extern struct vm_map *phys_map;
/*
* Map an IO request into kernel virtual address space.
*

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.63 2002/02/26 15:13:30 simonb Exp $ */
/* $NetBSD: vm_machdep.c,v 1.64 2002/03/04 02:43:23 simonb Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -281,8 +281,6 @@ kvtop(addr)
return((int)pa);
}
extern struct vm_map *phys_map;
/*
* Map a user I/O request into kernel virtual address space.
* Note: the pages are already locked by uvm_vslock(), so we

View File

@ -1,5 +1,5 @@
/* $NetBSD: vm_machdep.c,v 1.10 2001/09/10 21:19:32 chris Exp $ */
/* $NetBSD: vm_machdep.c,v 1.10 2001/09/10 21:19:32 chris Exp $ */
/* $NetBSD: vm_machdep.c,v 1.11 2002/03/04 02:43:24 simonb Exp $ */
/* $NetBSD: vm_machdep.c,v 1.11 2002/03/04 02:43:24 simonb Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.10 2001/09/10 21:19:32 chris Exp $");
__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.11 2002/03/04 02:43:24 simonb Exp $");
#include "opt_compat_hpux.h"
@ -294,8 +294,6 @@ kvtop(addr)
return((int)pa);
}
extern struct vm_map *phys_map;
/*
* Map a user I/O request into kernel virtual address space.
* Note: the pages are already locked by uvm_vslock(), so we

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.54 2002/02/26 15:13:31 simonb Exp $ */
/* $NetBSD: vm_machdep.c,v 1.55 2002/03/04 02:43:24 simonb Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -281,8 +281,6 @@ kvtop(addr)
return((int)pa);
}
extern struct vm_map *phys_map;
/*
* Map a user I/O request into kernel virtual address space.
* Note: the pages are already locked by uvm_vslock(), so we

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.86 2001/11/28 08:49:19 nisimura Exp $ */
/* $NetBSD: vm_machdep.c,v 1.87 2002/03/04 02:43:24 simonb Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -45,7 +45,7 @@
#include "opt_ddb.h"
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.86 2001/11/28 08:49:19 nisimura Exp $");
__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.87 2002/03/04 02:43:24 simonb Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -284,8 +284,6 @@ pagemove(from, to, size)
}
}
extern struct vm_map *phys_map;
/*
* Map a user I/O request into kernel virtual address space.
* Note: the pages are already locked by uvm_vslock(), so we

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.42 2001/09/10 21:19:19 chris Exp $ */
/* $NetBSD: vm_machdep.c,v 1.43 2002/03/04 02:43:24 simonb Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -247,8 +247,6 @@ kvtop(addr)
return(pa);
}
extern struct vm_map *phys_map;
/*
* Map a user I/O request into kernel virtual address space.
* Note: the pages are already locked by uvm_vslock(), so we

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.26 2001/09/10 21:19:21 chris Exp $ */
/* $NetBSD: vm_machdep.c,v 1.27 2002/03/04 02:43:25 simonb Exp $ */
/*
* This file was taken from mvme68k/mvme68k/vm_machdep.c
@ -238,8 +238,6 @@ pagemove(from, to, size)
pmap_update(pmap_kernel());
}
extern struct vm_map *phys_map;
/*
* Map a user I/O request into kernel virtual address space.
* Note: the pages are already locked by uvm_vslock(), so we

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.51 2002/02/26 15:13:31 simonb Exp $ */
/* $NetBSD: vm_machdep.c,v 1.52 2002/03/04 02:43:25 simonb Exp $ */
/*-
* Copyright (c) 1996 Matthias Pfaller.
@ -319,8 +319,6 @@ kvtop(addr)
return((int)pa);
}
extern struct vm_map *phys_map;
/*
* Map a user I/O request into kernel virtual address space.
* Note: the pages are already locked by uvm_vslock(), so we

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.26 2002/03/03 14:31:29 uch Exp $ */
/* $NetBSD: vm_machdep.c,v 1.27 2002/03/04 02:43:25 simonb Exp $ */
/*-
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
@ -252,8 +252,6 @@ pagemove(caddr_t from, caddr_t to, size_t size)
TLBFLUSH();
}
extern struct vm_map *phys_map;
/*
* Map an IO request into kernel virtual address space. Requests fall into
* one of five catagories:

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.75 2001/09/10 21:19:29 chris Exp $ */
/* $NetBSD: vm_machdep.c,v 1.76 2002/03/04 02:43:25 simonb Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@ -309,8 +309,6 @@ iounaccess(vaddr, npgs)
mtpr(0, PR_TBIA);
}
extern struct vm_map *phys_map;
/*
* Map a user I/O request into kernel virtual address space.
* Note: the pages are already locked by uvm_vslock(), so we

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.3 2001/09/10 21:19:41 chris Exp $ */
/* $NetBSD: vm_machdep.c,v 1.4 2002/03/04 02:43:26 simonb Exp $ */
/*-
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
@ -331,8 +331,6 @@ kvtop(addr)
return((int)pa);
}
extern struct vm_map *phys_map;
/*
* Map a user I/O request into kernel virtual address space.
* Note: the pages are already locked by uvm_vslock(), so we