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

Annotation of sys/arch/alpha/tc/cfbvar.h, Revision 1.1.1.1

1.1       nbrk        1: /*     $OpenBSD: cfbvar.h,v 1.7 2005/12/17 07:31:25 miod Exp $ */
                      2: /*     $NetBSD: cfbvar.h,v 1.1 1996/05/01 23:25:04 cgd Exp $   */
                      3:
                      4: /*
                      5:  * Copyright (c) 1995, 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: #include <machine/cfbreg.h>
                     32: #include <dev/rcons/raster.h>
                     33: #include <dev/wscons/wscons_raster.h>
                     34:
                     35: struct cfb_devconfig;
                     36: struct fbcmap;
                     37: struct fbcursor;
                     38: struct fbcurpos;
                     39:
                     40: struct cfb_devconfig {
                     41:        vaddr_t dc_vaddr;               /* memory space virtual base address */
                     42:        paddr_t dc_paddr;               /* memory space physical base address */
                     43:        vsize_t dc_size;                /* size of slot memory */
                     44:
                     45:        int         dc_wid;             /* width of frame buffer */
                     46:        int         dc_ht;              /* height of frame buffer */
                     47:        int         dc_depth;           /* depth, bits per pixel */
                     48:        int         dc_rowbytes;        /* bytes in a FB scan line */
                     49:
                     50:        vaddr_t dc_videobase;           /* base of flat frame buffer */
                     51:
                     52:        struct raster   dc_raster;      /* raster description */
                     53:        struct rcons    dc_rcons;       /* raster blitter control info */
                     54:
                     55:        int         dc_blanked;         /* currently has video disabled */
                     56: };
                     57:
                     58: struct cfb_softc {
                     59:        struct device sc_dev;
                     60:
                     61:        struct cfb_devconfig *sc_dc;    /* device configuration */
                     62:
                     63:        int nscreens;
                     64: };
                     65:
                     66: #if 0
                     67: int cfb_cnattach(tc_addr_t);
                     68: #endif

CVSweb