OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [arch/] [m68k/] [atari/] [atafb.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
#include <linux/fb.h>
2
#include <linux/console.h>
3
 
4
 
5
struct display
6
{
7
    int bytes_per_row;          /* offset to one line below */
8
 
9
    int cursor_x;               /* current cursor position */
10
    int cursor_y;
11
 
12
    int fgcol;                  /* text colors */
13
    int bgcol;
14
 
15
    struct fb_var_screeninfo var;       /* variable infos */
16
    struct fb_cmap      cmap;           /* colormap */
17
 
18
    /* the following three are copies from fb_fix_screeninfo */
19
    int visual;
20
    int type;
21
    int type_aux;
22
 
23
    u_char *bitplane;           /* pointer to top of physical screen */
24
 
25
    u_char *screen_base;        /* pointer to top of virtual screen */
26
 
27
    u_char *fontdata;           /* Font associated to this display */
28
    int fontheight;
29
    int fontwidth;
30
 
31
    int inverse;                /* != 0 text black on white as default */
32
    struct vc_data *conp;       /* pointer to console data */
33
    struct display_switch *dispsw; /* pointers to depth specific functions */
34
};
35
 
36
struct fb_info
37
{
38
    char modename[40];          /* name of the at boottime detected video mode */
39
    struct display *disp;       /* pointer to display variables */
40
    int (*changevar)(int);      /* tell the console var has changed */
41
    int (*switch_con)(int);     /* tell the framebuffer to switch consoles */
42
    int (*updatevar)(int);      /* tell the framebuffer to update the vars */
43
    void (*blank)(int);         /* tell the framebuffer to (un)blank the screen */
44
};
45
 
46
struct fb_info *atafb_init(long *);
47
 
48
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.