Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sgimips/include Add externs for struct platform and...
details: https://anonhg.NetBSD.org/src/rev/fafb59479b09
branches: trunk
changeset: 511182:fafb59479b09
user: rafal <rafal%NetBSD.org@localhost>
date: Thu Jun 14 01:06:08 2001 +0000
description:
Add externs for struct platform and the machine type definitions (mach_type,
mach_subtype, mach_boardrev).
diffstat:
sys/arch/sgimips/include/machtype.h | 6 +++++-
sys/arch/sgimips/include/sysconf.h | 4 +++-
2 files changed, 8 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r d873542d5ff6 -r fafb59479b09 sys/arch/sgimips/include/machtype.h
--- a/sys/arch/sgimips/include/machtype.h Wed Jun 13 23:38:29 2001 +0000
+++ b/sys/arch/sgimips/include/machtype.h Thu Jun 14 01:06:08 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machtype.h,v 1.1 2001/05/11 04:38:22 thorpej Exp $ */
+/* $NetBSD: machtype.h,v 1.2 2001/06/14 01:06:08 rafal Exp $ */
/*
* Copyright (c) 2001 Rafal K. Boni
@@ -66,4 +66,8 @@
#define MACH_SGI_IP22_FULLHOUSE 22 /* Indigo2 */
#define MACH_SGI_IP22_GUINESS 24 /* Indy, Challenge S */
+extern int mach_type; /* IPxx type */
+extern int mach_subtype; /* subtype: eg., Guiness/Fullhouse for IP22 */
+extern int mach_boardrev; /* machine board revision, in case it matters */
+
#endif /* __MACHTYPE__ */
diff -r d873542d5ff6 -r fafb59479b09 sys/arch/sgimips/include/sysconf.h
--- a/sys/arch/sgimips/include/sysconf.h Wed Jun 13 23:38:29 2001 +0000
+++ b/sys/arch/sgimips/include/sysconf.h Thu Jun 14 01:06:08 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysconf.h,v 1.1 2001/05/11 04:42:13 thorpej Exp $ */
+/* $NetBSD: sysconf.h,v 1.2 2001/06/14 01:06:08 rafal Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All rights reserved.
@@ -76,6 +76,8 @@
unsigned (*clkread) __P((void));
};
+extern struct platform platform;
+
#endif /* _KERNEL */
#endif /* !_SGIMIPS_SYSCONF_H_ */
Home |
Main Index |
Thread Index |
Old Index