logo.c

来自「omap3 linux 2.6 用nocc去除了冗余代码」· C语言 代码 · 共 49 行

C
49
字号
/* *  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> */#include <linux/linux_logo.h>#include <linux/stddef.h>#include <linux/module.h>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_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;const struct linux_logo *fb_find_logo(int depth){	const struct linux_logo *logo = NULL;	if (depth >= 1) {	}		if (depth >= 4) {	}		if (depth >= 8) {		/* Generic Linux logo */		logo = &logo_linux_clut224;	}	return logo;}EXPORT_SYMBOL_GPL(fb_find_logo);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?