Changeset 8daaa65e in rtems


Ignore:
Timestamp:
Jul 24, 2009, 1:27:49 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
cd62f7a
Parents:
18e23e91
Message:

2009-07-24 Roxana Leontie <roxana.leontie@…>

  • libmisc/mw-fb/mw_fb.h: divided fb_screeninfo structure into fb_var_screeninfo and fb_fix_screeninfo
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r18e23e91 r8daaa65e  
     12009-07-24      Roxana Leontie <roxana.leontie@gmail.com>
     2
     3        * libmisc/mw-fb/mw_fb.h: divided fb_screeninfo structure into
     4        fb_var_screeninfo and fb_fix_screeninfo
     5
    162009-07-23      Ralf Corsepius <ralf.corsepius@rtems.org>
    27
  • cpukit/libmisc/mw-fb/mw_fb.h

    r18e23e91 r8daaa65e  
    1919/* ioctls
    2020   0x46 is 'F'                                */
    21 #define FBIOGET_FSCREENINFO             0x4602
    22 #define FBIOGETCMAP                     0x4604
    23 #define FBIOPUTCMAP                     0x4603
    24 #define FB_EXEC_FUNCTION                0x4606
     21#define FBIOGET_VSCREENINFO     0x4600
     22#define FBIOPUT_VSCREENINFO     0x4601
     23#define FBIOGET_FSCREENINFO     0x4602
     24#define FBIOGETCMAP             0x4604
     25#define FBIOPUTCMAP             0x4605
     26#define FB_EXEC_FUNCTION        0x4606
    2527
    2628
     
    4244#define FB_ACCEL_NONE                  0    /* no hardware accelerator    */
    4345
    44 struct fb_screeninfo {
     46struct fb_var_screeninfo {
    4547    uint32_t xres;                  /* visible resolution        */
    4648    uint32_t yres;
    4749    uint32_t bits_per_pixel;        /* guess what            */
    48          uint32_t line_length;          /* number of chars per line */
    49     volatile char *smem_start; /* Start of frame buffer mem  */
     50};
     51struct fb_fix_screeninfo {
     52    volatile char *smem_start;  /* Start of frame buffer mem  */
    5053                                /* (physical address)         */
    51     uint32_t smem_len;             /* Length of frame buffer mem */
    52     uint32_t type;                 /* see FB_TYPE_*              */
    53     uint32_t visual;               /* see FB_VISUAL_*            */
    54 
     54    uint32_t smem_len;          /* Length of frame buffer mem */
     55    uint32_t type;              /* see FB_TYPE_*              */
     56    uint32_t visual;            /* see FB_VISUAL_*            */
     57    uint32_t line_length;       /* number of chars per line */
    5558};
    5659
Note: See TracChangeset for help on using the changeset viewer.