Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  *      linux/drivers/video/maxinefb.h
0003  *
0004  *      DECstation 5000/xx onboard framebuffer support, Copyright (C) 1999 by
0005  *      Michael Engel <engel@unix-ag.org> and Karsten Merker <merker@guug.de>
0006  *      This file is subject to the terms and conditions of the GNU General
0007  *      Public License.  See the file COPYING in the main directory of this
0008  *      archive for more details.
0009  */
0010 
0011 #include <asm/addrspace.h>
0012 
0013 /*
0014  * IMS332 video controller register base address
0015  */
0016 #define MAXINEFB_IMS332_ADDRESS     KSEG1ADDR(0x1c140000)
0017 
0018 /*
0019  * Begin of DECstation 5000/xx onboard framebuffer memory, default resolution
0020  * is 1024x768x8
0021  */
0022 #define DS5000_xx_ONBOARD_FBMEM_START   KSEG1ADDR(0x0a000000)
0023 
0024 /*
0025  *      The IMS 332 video controller used in the DECstation 5000/xx series
0026  *      uses 32 bits wide registers; the following defines declare the
0027  *      register numbers, to get the real offset, these have to be multiplied
0028  *      by four.
0029  */
0030 
0031 #define IMS332_REG_CURSOR_RAM           0x200   /* hardware cursor bitmap */
0032 
0033 /*
0034  * The color palette entries have the form 0x00BBGGRR
0035  */
0036 #define IMS332_REG_COLOR_PALETTE        0x100   /* color palette, 256 entries */
0037 #define IMS332_REG_CURSOR_COLOR_PALETTE 0x0a1   /* cursor color palette, */
0038                         /* 3 entries             */