linux开机logo居中显示

参考:http://2836917.blog.51cto.com/2826917/511555

1.修改drivers/video/fbmen.c
471 // image.dx = 0;
472 // image.dy = y;
473 image.dx = (info->var.xres/2) – (logo->width/2);
474 image.dy = (info->var.yres/2) – (logo->height/2);

2.修改drivers/video/console/fbcon.c
增加
584 logo_height += (info->var.yres/2) – (logo->height/2);

你可能感兴趣的:(linux,logo,职场,休闲)