摘要: Makefile中:obj-m += bobey.obobey-objs += test.o add.o 阅读全文
posted @ 2014-10-21 17:12 Achille·Swn 阅读(152) 评论(0) 推荐(0)
摘要: 实现:在一个内核模块调用另一个内核模块中的a+b函数,并通过命令行给参数a,参数b赋值。file3.c#includevoid add_num_func(int a,int b){ printk("file1 a+b = %d \n",a+b);}EXPORT_SYMBOL(add_num_f... 阅读全文
posted @ 2014-10-21 17:08 Achille·Swn 阅读(1045) 评论(0) 推荐(0)
摘要: 1、输入的文字为密码形式的设置 android:password="true"2、输入的文字为电话号码 android:phoneNumber="true"3、单行输入,一旦设置为true,则文字不会自动换行,回车即为离开文本框 android:singleLine="true"4、输入只能为... 阅读全文
posted @ 2014-10-21 10:13 Achille·Swn 阅读(199) 评论(0) 推荐(0)