Chinaunix首页 | 论坛 | 博客
  • 博客访问: 396595
  • 博文数量: 380
  • 博客积分: 75
  • 博客等级: 民兵
  • 技术积分: 1925
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-05 15:35
文章分类

全部博文(380)

文章存档

2014年(1)

2013年(2)

2012年(19)

2011年(358)

我的朋友

分类:

2011-09-05 18:34:58

原文地址:消除控制台的光标 作者:chenxibing008

Disable Cursor on Console

修改drivers/video/console/Makefile,去掉光标文件
 29 #obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += fbcon.o bitblit.o font.o softcursor.o
 30 obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += fbcon.o bitblit.o font.o

修改如下文件使用了soft_cursor的地方:
drivers/video/console/bitblit.c
drivers/video/console/fbcon_cw.c
drivers/video/console/fbcon_ccw.c
drivers/video/console/fbcon_ud.c

//  if (err)
//      soft_cursor(info, &cursor);

编译后,系统控制台不再有光标。


===================================
drivers/video/console/fbcon.c
static void fb_flashcursor(void *private)  
 和 static void fbcon_cursor(struct vc_data *vc, int mode) 
里的内容注释掉,使之变成空函数即可。


(function(w, d, g, J) { var e = J.stringify || J.encode; d[g] = d[g] || {}; d[g]['showValidImages'] = d[g]['showValidImages'] || function() { w.postMessage(e({'msg': {'g': g, 'm':'s'}}), location.href); } })(window, document, '__huaban', JSON);
阅读(347) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~