改写fb_do_show_logo函数。呵呵。
static void fb_do_show_logo(struct fb_info *info,struct fb_image *image,int rotate)
{
u32 *palette = NULL, *saved_pseudo_palette = NULL;
int x,xoffset;
int y,yoffset;
/**for central logo**/
xoffset = (info->var.xres - num_online_cpus() * (fb_logo.logo->width + 8))>>1;
yoffset = (info->var.yres - num_online_cpus() * (fb_logo.logo->height + 8))>>1;
if (xoffset<0) xoffset = 0;
if (yoffset<0阅读全文>
发表于 @ 2008年07月29日 11:01:00|评论(loading...)|编辑|收藏