+ Add prototypes from the prom_*() callback routines.

+ Remove leading "extern" from function declarations.
 + CG unused latched_cycle_cnt.
This commit is contained in:
simonb 1999-06-08 23:40:42 +00:00
parent 661c94c72c
commit 7eb995464d

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.h,v 1.3 1999/04/26 09:23:23 nisimura Exp $ */
/* $NetBSD: machdep.h,v 1.4 1999/06/08 23:40:42 simonb Exp $ */
/*
* Copyright (c) 1998 Jonathan Stone. All rights reserved.
@ -40,23 +40,23 @@ extern char cpu_model[];
*/
/* Block out one hardware interrupt-enable bit. */
extern int Mach_spl0 __P((void)), Mach_spl1 __P((void));
extern int Mach_spl2 __P((void)), Mach_spl3 __P((void));
int Mach_spl0 __P((void)), Mach_spl1 __P((void));
int Mach_spl2 __P((void)), Mach_spl3 __P((void));
/* Block out nested interrupt-enable bits. */
extern int cpu_spl0 __P((void)), cpu_spl1 __P((void));
extern int cpu_spl2 __P((void)), cpu_spl3 __P((void));
extern int splhigh __P((void));
int cpu_spl0 __P((void)), cpu_spl1 __P((void));
int cpu_spl2 __P((void)), cpu_spl3 __P((void));
int splhigh __P((void));
extern volatile struct chiptime *mcclock_addr;
/* jump to PROM after halt switch. */
extern void prom_haltbutton __P((void));
/* high-res clock ticks. Need better timer support. */
u_long latched_cycle_cnt;
/* PROM callback routines - see pmax/promcall.c */
void prom_findcons __P((int *, int *, int *));
void prom_halt __P((int, char *)) __attribute__((__noreturn__));
void prom_haltbutton __P((void));
int prom_scsiid __P((int));
char *prom_getenv __P((char *));
int prom_systype __P((void));
/* XXX max memory */
int physmem_boardmax; /* {model,simm}-specific bound on physmem */