linux_logo.h 2.0 KB

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