[BACK]Return to cfbreg.h CVS log [TXT][DIR] Up to [local] / sys / arch / alpha / include

Annotation of sys/arch/alpha/include/cfbreg.h, Revision 1.1.1.1

1.1       nbrk        1: /*     $OpenBSD: cfbreg.h,v 1.4 2003/10/18 20:14:41 jmc Exp $  */
                      2: /*     $NetBSD: cfbreg.h,v 1.1 1996/05/01 23:25:00 cgd Exp $   */
                      3:
                      4: /*
                      5:  * Copyright (c) 1996 Carnegie-Mellon University.
                      6:  * All rights reserved.
                      7:  *
                      8:  * Author: Chris G. Demetriou
                      9:  *
                     10:  * Permission to use, copy, modify and distribute this software and
                     11:  * its documentation is hereby granted, provided that both the copyright
                     12:  * notice and this permission notice appear in all copies of the
                     13:  * software, derivative works or modified versions, and any portions
                     14:  * thereof, and that both notices appear in supporting documentation.
                     15:  *
                     16:  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
                     17:  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
                     18:  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
                     19:  *
                     20:  * Carnegie Mellon requests users of this software to return to
                     21:  *
                     22:  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
                     23:  *  School of Computer Science
                     24:  *  Carnegie Mellon University
                     25:  *  Pittsburgh PA 15213-3890
                     26:  *
                     27:  * any improvements or extensions that they make and grant Carnegie the
                     28:  * rights to redistribute these changes.
                     29:  */
                     30:
                     31: /*
                     32:  * Color Frame Buffer definitions, from:
                     33:  * ``PMAG-BA TURBOchannel Color Frame Buffer Functional Specification
                     34:  * (Revision 1.2)'', available via anonymous FTP from gatekeeper.dec.com.
                     35:  *
                     36:  * All definitions are in "dense" TurboChannel space.
                     37:  */
                     38:
                     39: /*
                     40:  * Size of the CFB address space.
                     41:  */
                     42: #define        CFB_SIZE                0x400000
                     43:
                     44: /*
                     45:  * Offsets into slot space of each functional unit.
                     46:  */
                     47: #define        CFB_FB_OFFSET           0x000000        /* Frame buffer */
                     48: #define        CFB_FB_SIZE             0x100000
                     49: #define        CFB_RAMDAC_OFFSET       0x200000        /* Bt495 RAMDAC Registers */
                     50: #define        CFB_RAMDAC_SIZE         0x100000
                     51: #define        CFB_IREQCTRL_OFFSET     0x300000        /* IReq Control region */
                     52: #define        CFB_IREQCTRL_SIZE       0x080000
                     53:
                     54: /*
                     55:  * Bt459 RAMDAC registers (offsets from CFB_RAMDAC_OFFSET)
                     56:  */
                     57: #define        CFB_RAMDAC_ADDRLOW      0x0000  /* Address register low byte */
                     58: #define        CFB_RAMDAC_ADDRHIGH     0x0004  /* Address register high byte */
                     59: #define        CFB_RAMDAC_REGDATA      0x0008  /* Register addressed by addr reg */
                     60: #define        CFB_RAMDAC_CMAPDATA     0x000c  /* Colormap loc addressed by addr reg */

CVSweb