~kris/9p

9hist

ref: c37268ee3be0685df1e704722dd947cdcc81332c 9hist/ss/io.h -rw-r--r-- 390 bytes
c37268ee — David du Colombier Plan 9 from Bell Labs 1990-12-28 35 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
typedef struct	Duart	Duart;

#define	SYNCREG		((char*)0x40400000)
#define	DISPLAYRAM	0x1E800000
#define	EPROM		0xF6000000
#define	CLOCK		0xF3000000
#define	CLOCKFREQ	1000000		/* one microsecond increments */
#define	DUARTREG	((Duart*)0x40100000)
#define	PORT		((uchar *)0x40300000)

#define	ENAB		0x40000000	/* ASI 2, System Enable Register */
#define	ENABCACHE	0x10
#define	ENABRESET	0x04