linux_logo.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 *fb_find_logo(int depth);
  29. #endif /* _LINUX_LINUX_LOGO_H */