]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef _LINUX_LINUX_LOGO_H |
2 | #define _LINUX_LINUX_LOGO_H | |
3 | ||
4 | /* | |
5 | * Linux logo to be displayed on boot | |
6 | * | |
7 | * Copyright (C) 1996 Larry Ewing ([email protected]) | |
8 | * Copyright (C) 1996,1998 Jakub Jelinek ([email protected]) | |
9 | * Copyright (C) 2001 Greg Banks <[email protected]> | |
10 | * Copyright (C) 2001 Jan-Benedict Glaw <[email protected]> | |
11 | * Copyright (C) 2003 Geert Uytterhoeven <[email protected]> | |
12 | * | |
13 | * Serial_console ascii image can be any size, | |
14 | * but should contain %s to display the version | |
15 | */ | |
16 | ||
17 | #include <linux/init.h> | |
18 | ||
19 | ||
20 | #define LINUX_LOGO_MONO 1 /* monochrome black/white */ | |
21 | #define LINUX_LOGO_VGA16 2 /* 16 colors VGA text palette */ | |
22 | #define LINUX_LOGO_CLUT224 3 /* 224 colors */ | |
23 | #define LINUX_LOGO_GRAY256 4 /* 256 levels grayscale */ | |
24 | ||
25 | ||
26 | struct linux_logo { | |
27 | int type; /* one of LINUX_LOGO_* */ | |
28 | unsigned int width; | |
29 | unsigned int height; | |
30 | unsigned int clutsize; /* LINUX_LOGO_CLUT224 only */ | |
31 | const unsigned char *clut; /* LINUX_LOGO_CLUT224 only */ | |
32 | const unsigned char *data; | |
33 | }; | |
34 | ||
35 | extern const struct linux_logo *fb_find_logo(int depth); | |
36 | ||
37 | #endif /* _LINUX_LINUX_LOGO_H */ |