Add externs for struct platform and the machine type definitions (mach_type,

mach_subtype, mach_boardrev).
This commit is contained in:
rafal 2001-06-14 01:06:08 +00:00
parent ffdbaf6118
commit 3327706cab
2 changed files with 8 additions and 2 deletions

View File

@ -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__ */

View File

@ -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 @@ struct platform {
unsigned (*clkread) __P((void));
};
extern struct platform platform;
#endif /* _KERNEL */
#endif /* !_SGIMIPS_SYSCONF_H_ */