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 unsigned long vc_uni_pagedir;
31 unsigned long *vc_uni_pagedir_loc; /* [!] Location of uni_pagedir variable for this console */
32 struct vt_struct *vc_vt;
34 + struct vc_splash vc_splash;
35 /* additional information is in vt_kern.h */
38 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
39 --- linux-libc-headers-2.6.11.0.orig/include/linux/fb.h 2005-01-08 15:03:32.000000000 +0100
40 +++ linux-libc-headers-2.6.11.0/include/linux/fb.h 2005-03-13 23:33:46.000000000 +0100
43 #define FB_MAX 32 /* sufficient for now */
45 +struct fb_splash_iowrapper
47 + unsigned short vc; /* Virtual console */
48 + unsigned char origin; /* Point of origin of the request */
54 #define FBIOGET_VSCREENINFO 0x4600
56 #define FBIOPUT_MODEINFO 0x4617
57 #define FBIOGET_DISPINFO 0x4618
59 +#define FBIOSPLASH_SETCFG _IOWR('F', 0x19, struct fb_splash_iowrapper)
60 +#define FBIOSPLASH_GETCFG _IOR('F', 0x1A, struct fb_splash_iowrapper)
61 +#define FBIOSPLASH_SETSTATE _IOWR('F', 0x1B, struct fb_splash_iowrapper)
62 +#define FBIOSPLASH_GETSTATE _IOR('F', 0x1C, struct fb_splash_iowrapper)
63 +#define FBIOSPLASH_SETPIC _IOWR('F', 0x1D, struct fb_splash_iowrapper)
65 +#define FB_SPLASH_THEME_LEN 128 /* Maximum lenght of a theme name */
66 +#define FB_SPLASH_IO_ORIG_KERNEL 0 /* Kernel ioctl origin */
67 +#define FB_SPLASH_IO_ORIG_USER 1 /* User ioctl origin */
69 #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */
70 #define FB_TYPE_PLANES 1 /* Non interleaved planes */