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
5 +#ifndef _LINUX_CONSOLE_SPLASH_H_
6 +#define _LINUX_CONSOLE_SPLASH_H_ 1
8 +/* A structure used by the framebuffer splash code (drivers/video/fbsplash.c) */
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 */
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
25 +#include <linux/console_splash.h>
28 unsigned short vc_num; /* Console number */
30 struct vc_data **vc_display_fg; /* [!] Ptr to var holding fg console for this display */
31 unsigned long vc_uni_pagedir;
32 unsigned long *vc_uni_pagedir_loc; /* [!] Location of uni_pagedir variable for this console */
33 + struct vc_splash vc_splash;
34 /* additional information is in vt_kern.h */
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
42 #define FB_MAX 32 /* sufficient for now */
44 +struct fb_splash_iowrapper
46 + unsigned short vc; /* Virtual console */
47 + unsigned char origin; /* Point of origin of the request */
53 #define FBIOGET_VSCREENINFO 0x4600
55 #define FBIOPUT_MODEINFO 0x4617
56 #define FBIOGET_DISPINFO 0x4618
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)
62 +#define FBIOSPLASH_SETPIC _IOWR('F', 0x1D, struct fb_splash_iowrapper)
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 */
68 #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */
69 #define FB_TYPE_PLANES 1 /* Non interleaved planes */