摘要: 为了确认内核打印等级以及prink 参数对打印的分级,在led驱动初始化代码【以及exit出口】加入如下代码。每次insmod 、rmmod led模块时,根据打印等级的设置,得到不同的打印结果:static int __init s3c24xx_leds_init() { int ret ; in... 阅读全文
posted @ 2014-10-16 14:49 oucaijun 阅读(24677) 评论(1) 推荐(2)
摘要: Word中使用代码高亮插件 1.下载并安装:SyntaxHighlighter4Word.zip 解压,然后双击bin\word2010\Kong.SyntaxHighlighter.Word2010.vsto或bin\word2007\Kong.SyntaxHighlighter.Wor... 阅读全文
posted @ 2014-10-16 14:02 oucaijun 阅读(1471) 评论(0) 推荐(0)
摘要: static struct file_operations s3c24xx_leds_fops ={ .owner = THIS_MODULE , //.open = s3c24xx_leds_open, .read = s3c24xx_leds_read , .write = s3c24xx_leds_write , .ioctl = s... 阅读全文
posted @ 2014-10-16 13:48 oucaijun 阅读(212) 评论(0) 推荐(0)
摘要: static struct file_operations s3c24xx_leds_fops ={ .owner = THIS_MODULE , //.open = s3c24xx_leds_open, .read = s3c24xx_leds_read , .write = s3c24xx_leds_write , .ioctl = s... 阅读全文
posted @ 2014-10-16 13:46 oucaijun 阅读(233) 评论(0) 推荐(0)
下载TeamViewer完整版 下载TeamViewer