f69620555a
for hb devices. - Move declarations for hb functions and macros to dev/hbvar.h. - Define and use hb_badaddr() macro for hb devices. - Declare news3400_badaddr() in machine/cpu.h rather than machine/autoconf.h. - Remove unused stuff from machine/autoconf.h.
27 lines
483 B
C
27 lines
483 B
C
/* $NetBSD: cpu.h,v 1.16 2003/05/09 13:36:42 tsutsui Exp $ */
|
|
|
|
#ifndef _NEWSMIPS_CPU_H_
|
|
#define _NEWSMIPS_CPU_H_
|
|
|
|
#include <mips/cpu.h>
|
|
|
|
#if defined(_KERNEL) || defined(_STANDALONE)
|
|
#ifndef _LOCORE
|
|
extern int systype;
|
|
|
|
#define NEWS3400 1
|
|
#define NEWS5000 2
|
|
|
|
/* System type dependent initializations. */
|
|
#ifdef news3400
|
|
void news3400_init(void);
|
|
int news3400_badaddr(void *, u_int);
|
|
#endif
|
|
#ifdef news5000
|
|
void news5000_init(void);
|
|
#endif
|
|
#endif
|
|
#endif
|
|
|
|
#endif /* _NEWSMIPS_CPU_H_ */
|