2 +++ linux-5.3/include/uapi/linux/console_splash.h
4 +#ifndef _LINUX_CONSOLE_SPLASH_H_
5 +#define _LINUX_CONSOLE_SPLASH_H_ 1
7 +/* A structure used by the framebuffer splash code (drivers/video/fbsplash.c) */
9 + __u8 bg_color; /* The color that is to be treated as transparent */
10 + __u8 state; /* Current splash state: 0 = off, 1 = on */
11 + __u16 tx, ty; /* Top left corner coordinates of the text field */
12 + __u16 twidth, theight; /* Width and height of the text field */
17 --- linux-3.7/include/uapi/linux/fb.h.orig 2010-08-02 00:11:14.000000000 +0200
18 +++ linux-3.7/include/uapi/linux/fb.h 2010-08-04 08:51:32.242821619 +0200
21 #define FB_MAX 32 /* sufficient for now */
23 +struct fb_splash_iowrapper
25 + unsigned short vc; /* Virtual console */
26 + unsigned char origin; /* Point of origin of the request */
32 #define FBIOGET_VSCREENINFO 0x4600
34 #define FBIOGET_HWCINFO 0x4616
35 #define FBIOPUT_MODEINFO 0x4617
36 #define FBIOGET_DISPINFO 0x4618
37 +#define FBIOSPLASH_SETCFG _IOWR('F', 0x19, struct fb_splash_iowrapper)
38 +#define FBIOSPLASH_GETCFG _IOR('F', 0x1A, struct fb_splash_iowrapper)
39 +#define FBIOSPLASH_SETSTATE _IOWR('F', 0x1B, struct fb_splash_iowrapper)
40 +#define FBIOSPLASH_GETSTATE _IOR('F', 0x1C, struct fb_splash_iowrapper)
41 +#define FBIOSPLASH_SETPIC _IOWR('F', 0x1D, struct fb_splash_iowrapper)
42 #define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
44 +#define FB_SPLASH_THEME_LEN 128 /* Maximum lenght of a theme name */
45 +#define FB_SPLASH_IO_ORIG_KERNEL 0 /* Kernel ioctl origin */
46 +#define FB_SPLASH_IO_ORIG_USER 1 /* User ioctl origin */
48 #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */
49 #define FB_TYPE_PLANES 1 /* Non interleaved planes */
50 #define FB_TYPE_INTERLEAVED_PLANES 2 /* Interleaved planes */