Move fpcurproc declaration to <mips/cpu.h>.

This commit is contained in:
simonb 2000-03-28 03:11:26 +00:00
parent ef89d70178
commit 6060929e8e
5 changed files with 11 additions and 16 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.36 2000/03/24 23:06:04 soren Exp $ */
/* $NetBSD: cpu.h,v 1.37 2000/03/28 03:11:26 simonb Exp $ */
/*-
* Copyright (c) 1992, 1993
@ -174,11 +174,13 @@ extern u_int32_t mips3_timer_delta;
#endif /* MIPS3 */
/*
* Misc prototypes.
* Misc prototypes and variable declarations.
*/
struct proc;
struct user;
extern struct proc *fpcurproc;
/* trap.c */
void child_return __P((void *));
int kdbpeek __P((vaddr_t));

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpemu.c,v 1.4 2000/03/28 02:58:48 simonb Exp $ */
/* $NetBSD: fpemu.c,v 1.5 2000/03/28 03:11:27 simonb Exp $ */
/*
* Copyright (c) 1999 Shuichiro URATA. All rights reserved.
@ -64,7 +64,6 @@ void bcemul_sw __P((u_int32_t inst, struct frame *frame, u_int32_t cause));
void bcemul_swl __P((u_int32_t inst, struct frame *frame, u_int32_t cause));
void bcemul_swr __P((u_int32_t inst, struct frame *frame, u_int32_t cause));
extern struct proc *fpcurproc;
vaddr_t MachEmulateBranch __P((struct frame *, vaddr_t, unsigned, int));
static __inline void

View File

@ -1,4 +1,4 @@
/* $NetBSD: process_machdep.c,v 1.13 2000/03/28 02:58:50 simonb Exp $ */
/* $NetBSD: process_machdep.c,v 1.14 2000/03/28 03:11:28 simonb Exp $ */
/*
* Copyright (c) 1994 Adam Glass
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.13 2000/03/28 02:58:50 simonb Exp $");
__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.14 2000/03/28 03:11:28 simonb Exp $");
/*
* This file may seem a bit stylized, but that so that it's easier to port.
@ -78,8 +78,6 @@ __KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.13 2000/03/28 02:58:50 simonb
#include <machine/psl.h>
#include <machine/reg.h>
extern struct proc *fpcurproc; /* trap.c */
#if !defined(NOFPU) && !defined(SOFTFLOAT)
void savefpregs __P((struct proc *));
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.123 2000/03/28 02:58:50 simonb Exp $ */
/* $NetBSD: trap.c,v 1.124 2000/03/28 03:11:28 simonb Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.123 2000/03/28 02:58:50 simonb Exp $");
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.124 2000/03/28 03:11:28 simonb Exp $");
#include "opt_cputype.h" /* which mips CPU levels do we support? */
#include "opt_inet.h"
@ -407,7 +407,6 @@ trap(status, cause, vaddr, opc, frame)
u_quad_t sticks = 0;
struct proc *p = curproc;
vm_prot_t ftype;
extern struct proc *fpcurproc;
void fswintrberr __P((void));
uvmexp.traps++;

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.51 2000/03/28 02:58:50 simonb Exp $ */
/* $NetBSD: vm_machdep.c,v 1.52 2000/03/28 03:11:28 simonb Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.51 2000/03/28 02:58:50 simonb Exp $");
__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.52 2000/03/28 03:11:28 simonb Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -66,9 +66,6 @@ __KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.51 2000/03/28 02:58:50 simonb Exp $
#include <mips/pte.h>
#include <machine/cpu.h>
/* XXX will be declared in mips/include/cpu.h XXX */
extern struct proc *fpcurproc;
paddr_t kvtophys __P((vaddr_t)); /* XXX */
/*