Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Ticket #1823: fbioctl.diff

File fbioctl.diff, 690 bytes (added by Sebastien Bourdeauducq, on 06/20/11 at 10:50:01)

patch

  • cpukit/libmisc/fb/fb.h

    diff --git a/cpukit/libmisc/fb/fb.h b/cpukit/libmisc/fb/fb.h
    index 9c222ea..ec0276c 100644
    a b extern "C" { 
    2424#define FBIOGETCMAP             0x4604
    2525#define FBIOPUTCMAP             0x4605
    2626#define FB_EXEC_FUNCTION        0x4606
    27 #define FBIOSWAPBUFFERS         0x4607
    28 #define FBIOSETBUFFERMODE       0x4608
     27
     28/* Milkymist extensions */
     29#define FBIOSWAPBUFFERS         0x4607
     30#define FBIOSETBUFFERMODE       0x4608
     31#define FBIOSETVIDEOMODE        0x4609
    2932
    3033#define FB_SINGLE_BUFFERED  0
    3134#define FB_TRIPLE_BUFFERED  1
    struct fb_cmap { 
    8285    uint16_t *transp;              /* transparency, can be NULL */
    8386};
    8487
    85 
    86 
    8788#ifdef  __cplusplus
    8889}
    8990#endif