Blame view

include/linux/linux_logo.h 2.06 KB
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
  #ifndef _LINUX_LINUX_LOGO_H
  #define _LINUX_LINUX_LOGO_H
  
  /*
   *  Linux logo to be displayed on boot
   *
   *  Copyright (C) 1996 Larry Ewing (lewing@isc.tamu.edu)
   *  Copyright (C) 1996,1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
   *  Copyright (C) 2001 Greg Banks <gnb@alphalink.com.au>
   *  Copyright (C) 2001 Jan-Benedict Glaw <jbglaw@lug-owl.de>
   *  Copyright (C) 2003 Geert Uytterhoeven <geert@linux-m68k.org>
   *
   *  Serial_console ascii image can be any size,
   *  but should contain %s to display the version
   */
  
  #include <linux/init.h>
  
  
  #define LINUX_LOGO_MONO		1	/* monochrome black/white */
  #define LINUX_LOGO_VGA16	2	/* 16 colors VGA text palette */
  #define LINUX_LOGO_CLUT224	3	/* 224 colors */
  #define LINUX_LOGO_GRAY256	4	/* 256 levels grayscale */
  
  
  struct linux_logo {
  	int type;			/* one of LINUX_LOGO_* */
  	unsigned int width;
  	unsigned int height;
  	unsigned int clutsize;		/* LINUX_LOGO_CLUT224 only */
  	const unsigned char *clut;	/* LINUX_LOGO_CLUT224 only */
  	const unsigned char *data;
  };
ae52bb238   Geert Uytterhoeven   fbdev: move logo ...
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
  extern const struct linux_logo logo_linux_mono;
  extern const struct linux_logo logo_linux_vga16;
  extern const struct linux_logo logo_linux_clut224;
  extern const struct linux_logo logo_blackfin_vga16;
  extern const struct linux_logo logo_blackfin_clut224;
  extern const struct linux_logo logo_dec_clut224;
  extern const struct linux_logo logo_mac_clut224;
  extern const struct linux_logo logo_parisc_clut224;
  extern const struct linux_logo logo_sgi_clut224;
  extern const struct linux_logo logo_sun_clut224;
  extern const struct linux_logo logo_superh_mono;
  extern const struct linux_logo logo_superh_vga16;
  extern const struct linux_logo logo_superh_clut224;
  extern const struct linux_logo logo_m32r_clut224;
  extern const struct linux_logo logo_spe_clut224;
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
50
  extern const struct linux_logo *fb_find_logo(int depth);
9900abfb5   Geert Uytterhoeven   fbdev: Add fb_app...
51
52
53
54
55
56
57
58
  #ifdef CONFIG_FB_LOGO_EXTRA
  extern void fb_append_extra_logo(const struct linux_logo *logo,
  				 unsigned int n);
  #else
  static inline void fb_append_extra_logo(const struct linux_logo *logo,
  					unsigned int n)
  {}
  #endif
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
59
60
  
  #endif /* _LINUX_LINUX_LOGO_H */