parent
e79a9123a3
commit
943f21e2c5
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: autoconf.c,v 1.24 2000/06/01 15:38:27 matt Exp $ */
|
||||
/* $NetBSD: autoconf.c,v 1.25 2001/02/21 05:53:35 minoura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Leo Weppelman
|
||||
|
@ -72,8 +72,6 @@ int x68k_realconfig;
|
|||
void
|
||||
cpu_configure()
|
||||
{
|
||||
extern int x68k_realconfig;
|
||||
|
||||
x68k_realconfig = 1;
|
||||
|
||||
if (config_rootfound("mainbus", "mainbus") == NULL)
|
||||
|
@ -118,7 +116,6 @@ x68k_config_found(pcfp, pdp, auxp, pfn)
|
|||
{
|
||||
struct device temp;
|
||||
struct cfdata *cf;
|
||||
extern int x68k_realconfig;
|
||||
|
||||
if (x68k_realconfig)
|
||||
return(config_found(pdp, auxp, pfn) != NULL);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bus.c,v 1.10 2000/06/29 07:07:54 mrg Exp $ */
|
||||
/* $NetBSD: bus.c,v 1.11 2001/02/21 05:53:35 minoura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -398,7 +398,6 @@ x68k_bus_dmamem_map(t, segs, nsegs, size, kvap, flags)
|
|||
vaddr_t va;
|
||||
bus_addr_t addr;
|
||||
int curseg;
|
||||
extern vm_map_t kernel_map;
|
||||
|
||||
size = round_page(size);
|
||||
|
||||
|
@ -434,8 +433,6 @@ x68k_bus_dmamem_unmap(t, kva, size)
|
|||
caddr_t kva;
|
||||
size_t size;
|
||||
{
|
||||
extern vm_map_t kernel_map;
|
||||
|
||||
#ifdef DIAGNOSTIC
|
||||
if ((u_long)kva & PGOFSET)
|
||||
panic("x68k_bus_dmamem_unmap");
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: machdep.c,v 1.92 2001/02/20 15:53:27 minoura Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.93 2001/02/21 05:53:35 minoura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -854,7 +854,6 @@ initcpu()
|
|||
#endif
|
||||
|
||||
#ifdef MAPPEDCOPY
|
||||
extern u_int mappedcopysize;
|
||||
|
||||
/*
|
||||
* Initialize lower bound for doing copyin/copyout using
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mem.c,v 1.22 2001/01/11 14:24:04 minoura Exp $ */
|
||||
/* $NetBSD: mem.c,v 1.23 2001/02/21 05:53:35 minoura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -56,6 +56,7 @@
|
|||
|
||||
#include <uvm/uvm_extern.h>
|
||||
|
||||
extern caddr_t Segtabzero;
|
||||
static caddr_t devzeropage;
|
||||
|
||||
#define mmread mmrw
|
||||
|
@ -173,7 +174,6 @@ mmrw(dev, uio, flags)
|
|||
* is a global zeroed page, the null segment table.
|
||||
*/
|
||||
if (devzeropage == NULL) {
|
||||
extern caddr_t Segtabzero;
|
||||
devzeropage = Segtabzero;
|
||||
}
|
||||
c = min(iov->iov_len, NBPG);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pmap.c,v 1.57 2001/01/14 03:22:04 thorpej Exp $ */
|
||||
/* $NetBSD: pmap.c,v 1.58 2001/02/21 05:53:35 minoura Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
|
@ -279,6 +279,7 @@ int protostfree; /* prototype (default) free ST map */
|
|||
#endif
|
||||
|
||||
extern caddr_t CADDR1, CADDR2;
|
||||
extern u_int8_t *intiobase;
|
||||
|
||||
pt_entry_t *caddr1_pte; /* PTE for CADDR1 */
|
||||
pt_entry_t *caddr2_pte; /* PTE for CADDR2 */
|
||||
|
@ -388,7 +389,6 @@ pmap_init()
|
|||
int rv;
|
||||
int npages;
|
||||
int bank;
|
||||
extern u_int8_t *intiobase;
|
||||
|
||||
PMAP_DPRINTF(PDB_FOLLOW, ("pmap_init()\n"));
|
||||
|
||||
|
|
Loading…
Reference in New Issue