e047259a1f
port. cesfic is a VME board with one or two mc68040 processors. See the README file for details. The port is working well with a.out userland, there are some problems with ELF still, like applications running out of memory where it is not expected. Some parts, in particular the pmap (which was taken from hp300 four years ago), need updating, but this is easier done within the NetBSD CVS tree.
21 lines
750 B
C
21 lines
750 B
C
/* $NetBSD: z8530var.h,v 1.1 2001/05/14 18:23:16 drochner Exp $ */
|
|
|
|
#include <dev/ic/z8530sc.h>
|
|
|
|
struct zsc_softc {
|
|
struct device zsc_dev; /* required first: base device */
|
|
struct zs_chanstate *zsc_cs[2]; /* channel A and B soft state */
|
|
/* Machine-dependent part follows... */
|
|
};
|
|
|
|
u_char zs_read_reg __P((struct zs_chanstate *cs, u_char reg));
|
|
u_char zs_read_csr __P((struct zs_chanstate *cs));
|
|
u_char zs_read_data __P((struct zs_chanstate *cs));
|
|
|
|
void zs_write_reg __P((struct zs_chanstate *cs, u_char reg, u_char val));
|
|
void zs_write_csr __P((struct zs_chanstate *cs, u_char val));
|
|
void zs_write_data __P((struct zs_chanstate *cs, u_char val));
|
|
|
|
/* Interrupt priority for the SCC chip; needs to match ZSHARD_PRI. */
|
|
#define splzs() spl4()
|