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

* libmisc/mw-fb/mw_fb.h: divided fb_screeninfo structure into
	fb_var_screeninfo and fb_fix_screeninfo
This commit is contained in:
Joel Sherrill
2009-07-24 13:27:49 +00:00
parent 18e23e9100
commit 8daaa65e32
2 changed files with 19 additions and 11 deletions

View File

@@ -1,3 +1,8 @@
2009-07-24 Roxana Leontie <roxana.leontie@gmail.com>
* libmisc/mw-fb/mw_fb.h: divided fb_screeninfo structure into
fb_var_screeninfo and fb_fix_screeninfo
2009-07-23 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/enable-itron.m4: Default to not building itron.

View File

@@ -18,10 +18,12 @@ extern "C" {
/* ioctls
0x46 is 'F' */
#define FBIOGET_FSCREENINFO 0x4602
#define FBIOGETCMAP 0x4604
#define FBIOPUTCMAP 0x4603
#define FB_EXEC_FUNCTION 0x4606
#define FBIOGET_VSCREENINFO 0x4600
#define FBIOPUT_VSCREENINFO 0x4601
#define FBIOGET_FSCREENINFO 0x4602
#define FBIOGETCMAP 0x4604
#define FBIOPUTCMAP 0x4605
#define FB_EXEC_FUNCTION 0x4606
#define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */
@@ -41,17 +43,18 @@ extern "C" {
#define FB_ACCEL_NONE 0 /* no hardware accelerator */
struct fb_screeninfo {
struct fb_var_screeninfo {
uint32_t xres; /* visible resolution */
uint32_t yres;
uint32_t bits_per_pixel; /* guess what */
uint32_t line_length; /* number of chars per line */
volatile char *smem_start; /* Start of frame buffer mem */
};
struct fb_fix_screeninfo {
volatile char *smem_start; /* Start of frame buffer mem */
/* (physical address) */
uint32_t smem_len; /* Length of frame buffer mem */
uint32_t type; /* see FB_TYPE_* */
uint32_t visual; /* see FB_VISUAL_* */
uint32_t smem_len; /* Length of frame buffer mem */
uint32_t type; /* see FB_TYPE_* */
uint32_t visual; /* see FB_VISUAL_* */
uint32_t line_length; /* number of chars per line */
};
struct fb_cmap {