1 /* 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This software was developed by the Computer Systems Engineering group 6 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 7 * contributed to Berkeley. 8 * 9 * All advertising materials mentioning features or use of this software 10 * must display the following acknowledgement: 11 * This product includes software developed by the University of 12 * California, Lawrence Berkeley Laboratory. 13 * 14 * %sccs.include.redist.c% 15 * 16 * @(#)cgthreereg.h 8.2 (Berkeley) 10/30/93 17 * 18 * from: $Header: cgthreereg.h,v 1.7 93/10/31 05:09:28 torek Exp $ 19 */ 20 21 /* 22 * cgthree display registers. Much like bwtwo registers, except that 23 * there is a Brooktree Video DAC in there (so we also use btreg.h). 24 */ 25 26 /* offsets */ 27 #define CG3REG_ID 0 28 #define CG3REG_REG 0x400000 29 #define CG3REG_MEM 0x800000 30 31 /* same, but for gdb */ 32 struct cgthree_all { 33 long ba_id; /* ID = 0xfe010104 on my IPC */ 34 char ba_xxx0[0x400000-4]; 35 struct bt_regs ba_btreg; /* Brooktree registers */ 36 char ba_xxx1[0x400000-sizeof(struct bt_regs)]; 37 char ba_ram[4096]; /* actually larger */ 38 }; 39