aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/linux_logo.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/linux/linux_logo.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'include/linux/linux_logo.h')
-rw-r--r--include/linux/linux_logo.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/include/linux/linux_logo.h b/include/linux/linux_logo.h
new file mode 100644
index 000000000000..9c01bde5bf1b
--- /dev/null
+++ b/include/linux/linux_logo.h
@@ -0,0 +1,37 @@
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 (lewing@isc.tamu.edu)
8 * Copyright (C) 1996,1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
9 * Copyright (C) 2001 Greg Banks <gnb@alphalink.com.au>
10 * Copyright (C) 2001 Jan-Benedict Glaw <jbglaw@lug-owl.de>
11 * Copyright (C) 2003 Geert Uytterhoeven <geert@linux-m68k.org>
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
26struct 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
35extern const struct linux_logo *fb_find_logo(int depth);
36
37#endif /* _LINUX_LINUX_LOGO_H */