Eliminate commons (including many used ones). Clean up variable references.
This commit is contained in:
parent
6c34850421
commit
84eb329d14
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: locore.s,v 1.14 2001/08/25 21:08:02 chs Exp $ */
|
||||
/* $NetBSD: locore.s,v 1.15 2002/05/14 02:03:00 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -1406,8 +1406,6 @@ GLOBAL(want_resched)
|
|||
.long 0
|
||||
GLOBAL(proc0paddr)
|
||||
.long 0
|
||||
GLOBAL(boothowto)
|
||||
.long 0
|
||||
GLOBAL(bootdev)
|
||||
.long 0
|
||||
GLOBAL(hwplanemask)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: fpu.c,v 1.25 2001/11/20 03:19:42 chs Exp $ */
|
||||
/* $NetBSD: fpu.c,v 1.26 2002/05/14 02:03:01 matt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||
|
@ -54,7 +54,6 @@
|
|||
/*
|
||||
* FPU type; emulator uses FPU_NONE
|
||||
*/
|
||||
int fputype;
|
||||
|
||||
extern label_t *nofault;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sbicvar.h,v 1.8 2001/04/25 17:53:17 bouyer Exp $ */
|
||||
/* $NetBSD: sbicvar.h,v 1.9 2002/05/14 02:03:01 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
|
@ -87,7 +87,7 @@ struct sbic_tinfo {
|
|||
int cmds; /* #commands processed */
|
||||
int dconns; /* #disconnects */
|
||||
int lubusy; /* What local units/subr. are busy? */
|
||||
} tinfo_t;
|
||||
};
|
||||
|
||||
struct sbic_softc {
|
||||
struct device sc_dev;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vme_two_68k.c,v 1.2 2002/03/24 17:22:33 scw Exp $ */
|
||||
/* $NetBSD: vme_two_68k.c,v 1.3 2002/05/14 02:03:01 matt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
|
||||
|
@ -74,7 +74,7 @@ void vmetwo_attach __P((struct device *, struct device *, void *));
|
|||
struct cfattach vmetwo_ca = {
|
||||
sizeof(struct vmetwo_softc), vmetwo_match, vmetwo_attach
|
||||
};
|
||||
struct cfdriver vmetwo_cd;
|
||||
extern struct cfdriver vmetwo_cd;
|
||||
|
||||
|
||||
/* ARGSUSED */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: locore.s,v 1.88 2001/07/27 18:58:23 scw Exp $ */
|
||||
/* $NetBSD: locore.s,v 1.89 2002/05/14 02:03:02 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -1794,8 +1794,6 @@ GLOBAL(bootctrllun)
|
|||
.long 0
|
||||
GLOBAL(bootaddr)
|
||||
.long 0
|
||||
GLOBAL(boothowto)
|
||||
.long 0
|
||||
|
||||
GLOBAL(want_resched)
|
||||
.long 0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: locore.s,v 1.24 2001/07/22 13:34:06 wiz Exp $ */
|
||||
/* $NetBSD: locore.s,v 1.25 2002/05/14 02:03:02 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -1527,8 +1527,6 @@ GLOBAL(bootctrllun)
|
|||
.long 0
|
||||
GLOBAL(bootaddr)
|
||||
.long 0
|
||||
GLOBAL(boothowto)
|
||||
.long 0
|
||||
|
||||
GLOBAL(want_resched)
|
||||
.long 0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: GENERIC,v 1.55 2002/04/25 15:06:34 atatat Exp $
|
||||
# $NetBSD: GENERIC,v 1.56 2002/05/14 02:03:02 matt Exp $
|
||||
#
|
||||
# GENERIC machine description file
|
||||
#
|
||||
|
@ -22,7 +22,7 @@ include "arch/next68k/conf/std.next68k"
|
|||
|
||||
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
|
||||
|
||||
#ident "GENERIC-$Revision: 1.55 $"
|
||||
#ident "GENERIC-$Revision: 1.56 $"
|
||||
|
||||
# Needs to be set per system. i.e change these as you see fit
|
||||
maxusers 16
|
||||
|
@ -103,7 +103,7 @@ file-system UNION # union file system
|
|||
|
||||
options NFSSERVER # nfs server support
|
||||
options QUOTA # FFS quotas
|
||||
options SOFTDEP # FFS soft updates support.
|
||||
#options SOFTDEP # FFS soft updates support.
|
||||
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
|
||||
# immutable) behave as system flags.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cpu.h,v 1.18 2001/05/30 12:28:48 mrg Exp $ */
|
||||
/* $NetBSD: cpu.h,v 1.19 2002/05/14 02:03:02 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -133,8 +133,8 @@ extern int want_resched; /* resched() was called */
|
|||
|
||||
#define aston() (astpending++)
|
||||
|
||||
int astpending; /* need to trap before returning to user mode */
|
||||
int want_resched; /* resched() was called */
|
||||
extern int astpending; /* need to trap before returning to user mode */
|
||||
extern int want_resched; /* resched() was called */
|
||||
|
||||
extern volatile char *intiobase;
|
||||
extern volatile char *intiolimit;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rtclock.c,v 1.10 2001/05/26 21:32:30 minoura Exp $ */
|
||||
/* $NetBSD: rtclock.c,v 1.11 2002/05/14 02:03:03 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1993, 1994 Masaru Oki
|
||||
|
@ -117,11 +117,9 @@ rtc_attach(parent, self, aux)
|
|||
|
||||
|
||||
/*
|
||||
* x68k/clock.c calls thru this vector, if it is set, to read
|
||||
* x68k/clock.c calls thru the get/set tod vector, if it is set, to read
|
||||
* the realtime clock.
|
||||
*/
|
||||
time_t (*gettod) __P((void));
|
||||
int (*settod) __P((long));
|
||||
|
||||
int
|
||||
rtclockinit()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rtclock_var.h,v 1.4 2001/01/15 07:04:41 itohy Exp $ */
|
||||
/* $NetBSD: rtclock_var.h,v 1.5 2002/05/14 02:03:03 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1993, 1994 Masaru Oki
|
||||
|
@ -96,4 +96,8 @@ struct rtc_softc {
|
|||
#define range_test0(n, h) if ((unsigned)(n) > (h)) return(0)
|
||||
/* cast to unsigned in case n is signed */
|
||||
|
||||
#ifdef _KERNEL
|
||||
extern time_t (*gettod) __P((void));
|
||||
extern int (*settod) __P((long));
|
||||
#endif
|
||||
#endif /* _RTCLOCKVAR_H_ */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: iodevice.h,v 1.6 1999/03/16 16:30:23 minoura Exp $ */
|
||||
/* $NetBSD: iodevice.h,v 1.7 2002/05/14 02:03:03 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993, 1994, 1995 Masaru Oki
|
||||
|
@ -358,7 +358,7 @@ struct IODEVICE
|
|||
|
||||
#ifdef _KERNEL
|
||||
#ifndef LOCORE
|
||||
volatile struct IODEVICE *IODEVbase;
|
||||
extern volatile struct IODEVICE *IODEVbase;
|
||||
#endif
|
||||
|
||||
#define mfp (IODEVbase->io_mfp)
|
||||
|
|
Loading…
Reference in New Issue