Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pmax/pmax + Add prototypes from the prom_*() callba...
details: https://anonhg.NetBSD.org/src/rev/98574ca64886
branches: trunk
changeset: 473589:98574ca64886
user: simonb <simonb%NetBSD.org@localhost>
date: Tue Jun 08 23:40:42 1999 +0000
description:
+ Add prototypes from the prom_*() callback routines.
+ Remove leading "extern" from function declarations.
+ CG unused latched_cycle_cnt.
diffstat:
sys/arch/pmax/pmax/machdep.h | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diffs (45 lines):
diff -r db2c3d5679db -r 98574ca64886 sys/arch/pmax/pmax/machdep.h
--- a/sys/arch/pmax/pmax/machdep.h Tue Jun 08 23:40:19 1999 +0000
+++ b/sys/arch/pmax/pmax/machdep.h Tue Jun 08 23:40:42 1999 +0000
@@ -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 @@
*/
/* 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 */
Home |
Main Index |
Thread Index |
Old Index