]>
Commit | Line | Data |
---|---|---|
6cad2c5e PS |
1 | diff -uNr linux-libc-headers-2.6.11.0.orig/include/linux/console_splash.h linux-libc-headers-2.6.11.0/include/linux/console_splash.h |
2 | --- linux-libc-headers-2.6.11.0.orig/include/linux/console_splash.h 1970-01-01 01:00:00.000000000 +0100 | |
3 | +++ linux-libc-headers-2.6.11.0/include/linux/console_splash.h 2005-03-13 23:23:02.000000000 +0100 | |
2ec5a54e | 4 | @@ -0,0 +1,13 @@ |
5 | +#ifndef _LINUX_CONSOLE_SPLASH_H_ | |
6 | +#define _LINUX_CONSOLE_SPLASH_H_ 1 | |
7 | + | |
8 | +/* A structure used by the framebuffer splash code (drivers/video/fbsplash.c) */ | |
9 | +struct vc_splash { | |
10 | + __u8 bg_color; /* The color that is to be treated as transparent */ | |
11 | + __u8 state; /* Current splash state: 0 = off, 1 = on */ | |
12 | + __u16 tx, ty; /* Top left corner coordinates of the text field */ | |
13 | + __u16 twidth, theight; /* Width and height of the text field */ | |
14 | + char* theme; | |
15 | +}; | |
16 | + | |
17 | +#endif | |
6cad2c5e PS |
18 | diff -uNr linux-libc-headers-2.6.11.0.orig/include/linux/console_struct.h linux-libc-headers-2.6.11.0/include/linux/console_struct.h |
19 | --- linux-libc-headers-2.6.11.0.orig/include/linux/console_struct.h 2005-03-13 21:54:02.000000000 +0100 | |
20 | +++ linux-libc-headers-2.6.11.0/include/linux/console_struct.h 2005-03-13 23:23:02.000000000 +0100 | |
21 | @@ -12,6 +12,7 @@ | |
22 | struct vt_struct; | |
2ec5a54e | 23 | |
24 | #define NPAR 16 | |
25 | +#include <linux/console_splash.h> | |
26 | ||
27 | struct vc_data { | |
28 | unsigned short vc_num; /* Console number */ | |
5252592d PS |
29 | @@ -95,6 +96,7 @@ |
30 | struct vc_data **vc_display_fg; /* [!] Ptr to var holding fg console for this display */ | |
2ec5a54e | 31 | unsigned long vc_uni_pagedir; |
32 | unsigned long *vc_uni_pagedir_loc; /* [!] Location of uni_pagedir variable for this console */ | |
2ec5a54e | 33 | + struct vc_splash vc_splash; |
34 | /* additional information is in vt_kern.h */ | |
35 | }; | |
36 | ||
6cad2c5e PS |
37 | diff -uNr linux-libc-headers-2.6.11.0.orig/include/linux/fb.h linux-libc-headers-2.6.11.0/include/linux/fb.h |
38 | --- linux-libc-headers-2.6.11.0.orig/include/linux/fb.h 2005-01-08 15:03:32.000000000 +0100 | |
39 | +++ linux-libc-headers-2.6.11.0/include/linux/fb.h 2005-03-13 23:33:46.000000000 +0100 | |
2ec5a54e | 40 | @@ -8,6 +8,13 @@ |
41 | #define FB_MAJOR 29 | |
42 | #define FB_MAX 32 /* sufficient for now */ | |
43 | ||
44 | +struct fb_splash_iowrapper | |
45 | +{ | |
46 | + unsigned short vc; /* Virtual console */ | |
47 | + unsigned char origin; /* Point of origin of the request */ | |
48 | + void *data; | |
49 | +}; | |
50 | + | |
51 | /* ioctls | |
52 | 0x46 is 'F' */ | |
53 | #define FBIOGET_VSCREENINFO 0x4600 | |
6cad2c5e | 54 | @@ -32,6 +39,15 @@ |
2ec5a54e | 55 | #define FBIOPUT_MODEINFO 0x4617 |
56 | #define FBIOGET_DISPINFO 0x4618 | |
6cad2c5e | 57 | |
2ec5a54e | 58 | +#define FBIOSPLASH_SETCFG _IOWR('F', 0x19, struct fb_splash_iowrapper) |
59 | +#define FBIOSPLASH_GETCFG _IOR('F', 0x1A, struct fb_splash_iowrapper) | |
60 | +#define FBIOSPLASH_SETSTATE _IOWR('F', 0x1B, struct fb_splash_iowrapper) | |
61 | +#define FBIOSPLASH_GETSTATE _IOR('F', 0x1C, struct fb_splash_iowrapper) | |
6cad2c5e | 62 | +#define FBIOSPLASH_SETPIC _IOWR('F', 0x1D, struct fb_splash_iowrapper) |
2ec5a54e | 63 | + |
2ec5a54e | 64 | +#define FB_SPLASH_THEME_LEN 128 /* Maximum lenght of a theme name */ |
65 | +#define FB_SPLASH_IO_ORIG_KERNEL 0 /* Kernel ioctl origin */ | |
66 | +#define FB_SPLASH_IO_ORIG_USER 1 /* User ioctl origin */ | |
67 | ||
68 | #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */ | |
69 | #define FB_TYPE_PLANES 1 /* Non interleaved planes */ |