]> git.pld-linux.org Git - packages/linux-libc-headers.git/blame - linux-libc-headers-fbsplash.patch
up to 6.0.0
[packages/linux-libc-headers.git] / linux-libc-headers-fbsplash.patch
CommitLineData
963876a8 1--- /dev/null
bc876554 2+++ linux-5.3/include/uapi/linux/console_splash.h
2ec5a54e 3@@ -0,0 +1,13 @@
4+#ifndef _LINUX_CONSOLE_SPLASH_H_
5+#define _LINUX_CONSOLE_SPLASH_H_ 1
6+
7+/* A structure used by the framebuffer splash code (drivers/video/fbsplash.c) */
8+struct vc_splash {
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 */
13+ char* theme;
14+};
15+
16+#endif
d3addd79
JB
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
5d278d6c
JB
19@@ -8,6 +8,13 @@
20
2ec5a54e 21 #define FB_MAX 32 /* sufficient for now */
22
23+struct fb_splash_iowrapper
24+{
25+ unsigned short vc; /* Virtual console */
26+ unsigned char origin; /* Point of origin of the request */
27+ void *data;
28+};
29+
30 /* ioctls
31 0x46 is 'F' */
32 #define FBIOGET_VSCREENINFO 0x4600
5d278d6c 33@@ -35,8 +42,17 @@
963876a8 34 #define FBIOGET_HWCINFO 0x4616
2ec5a54e 35 #define FBIOPUT_MODEINFO 0x4617
36 #define FBIOGET_DISPINFO 0x4618
2ec5a54e 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)
6cad2c5e 41+#define FBIOSPLASH_SETPIC _IOWR('F', 0x1D, struct fb_splash_iowrapper)
5d278d6c 42 #define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
963876a8 43
2ec5a54e 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 */
5d278d6c 47+
2ec5a54e 48 #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */
49 #define FB_TYPE_PLANES 1 /* Non interleaved planes */
5d278d6c 50 #define FB_TYPE_INTERLEAVED_PLANES 2 /* Interleaved planes */
This page took 0.043168 seconds and 4 git commands to generate.