Changeset db862461 in rtems


Ignore:
Timestamp:
Jul 21, 2009, 3:47:28 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
b58c049
Parents:
bbebcd2c
Message:

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

  • libmisc/Makefile.am, libmisc/mw-fb/mw_fb.h: mw_fb.h eliminated the ufb_* calls and replaced some of the ioctl structures and numbers with the linux framebuffer equivalents
  • libmisc/mw-fb/mw_fb.c: Removed.
Location:
cpukit
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rbbebcd2c rdb862461  
     12009-07-21      Roxana Leontie <roxana.leontie@gmail.com>
     2
     3        * libmisc/Makefile.am, libmisc/mw-fb/mw_fb.h: mw_fb.h eliminated the
     4        ufb_* calls and replaced some of the ioctl structures and numbers
     5        with the linux framebuffer equivalents
     6        * libmisc/mw-fb/mw_fb.c: Removed.
     7
    182009-07-21      Joel Sherrill <joel.sherrill@oarcorp.com>
    29
  • cpukit/libmisc/Makefile.am

    rbbebcd2c rdb862461  
    5858## mw-fb
    5959noinst_LIBRARIES += libmw-fb.a
    60 libmw_fb_a_SOURCES = mw-fb/mw_fb.c mw-fb/mw_uid.c mw-fb/mw_fb.h \
     60libmw_fb_a_SOURCES = mw-fb/mw_uid.c mw-fb/mw_fb.h \
    6161    mw-fb/mw_uid.h
    6262
  • cpukit/libmisc/mw-fb/mw_fb.h

    rbbebcd2c rdb862461  
    1919/* ioctls
    2020   0x46 is 'F'                                */
    21 #define FB_SCREENINFO             0x4601
    22 #define FB_GETPALETTE             0x4602
    23 #define FB_SETPALETTE             0x4603
    24 #define FB_EXEC_FUNCTION          0x4604
     21#define FBIOGET_FSCREENINFO             0x4602
     22#define FBIOGETCMAP                     0x4604
     23#define FBIOPUTCMAP                     0x4603
     24#define FB_EXEC_FUNCTION                0x4606
    2525
    2626
     
    8080
    8181/*
    82  * This function returns the information regarding the display.
    83  * It is called just after the driver be opened to get all needed
    84  * information about the driver. No change in the mode of operation
    85  * of the driver is done with this call.
    86  */
    87 extern int ufb_get_screen_info( int fd, struct fb_screeninfo *info );
    88 
    89 
    90 /*
    9182 * Returns the mode of the graphics subsystem
    9283 */
    9384extern int ufb_get_mode( int fd, int *mode );
    94 
    95 
    96 /*
    97  * Returns the current collor pallete
    98  */
    99 extern int ufb_get_palette( int fd, struct fb_cmap *color );
    100 
    101 /*
    102  * Set the current collor pallete
    103  */
    104 extern int ufb_set_palette( int fd, struct fb_cmap *color );
    105 
    106 /*
    107  * Does all necessary initialization to put the device in
    108  * graphics mode
    109  */
    110 extern int ufb_enter_graphics( int fd, int mode );
    111 
    112 
    113 /*
    114  * Switch the device back to the default mode of operation.
    115  * In most cases it put the device back to plain text mode.
    116  */
    117 extern int ufb_exit_graphics( int fd );
    118 
    11985
    12086/*
     
    12490 */
    12591extern int ufb_buffer_is_dirty( int fd );
    126 
    127 
    128 /*
    129  * This function maps the physical ( kernel mode ) address of the framebuffer device
    130  * and maps it to the user space address.
    131  */
    132  int ufb_mmap_to_user_space( int fd, void **fb_addr, void *physical_addr, unsigned long size );
    133 
    134 
    13592
    13693/*
Note: See TracChangeset for help on using the changeset viewer.