core_param的使用
来源:互联网 发布:澳门航空怎么样 知乎 编辑:程序博客网 时间:2024/05/16 05:43
/** * core_param - define a historical core kernel parameter. * @name: the name of the cmdline and sysfs parameter (often the same as var) * @var: the variable * @type: the type of the parameter * @perm: visibility in sysfs * * core_param is just like module_param(), but cannot be modular and * doesn't add a prefix (such as "printk."). This is for compatibility * with __setup(), and it makes sense as truly core parameters aren't * tied to the particular file they're in. */#define core_param(name, var, type, perm)\param_check_##type(name, &(var));\__module_param_call("", name, ¶m_ops_##type, &var, perm, -1)#endif /* !MODULE */
在串口终端可以通过echo /sys/module/kernel/parameters/** 对该变量进行赋值。
0 0
- core_param的使用
- Linux内核module_param core_param的使用
- GUID使用的使用
- ${}的使用
- 的使用
- @[],@()的使用
- ->的使用
- +、-、*、/、%的使用
- &&的使用
- %:的使用
- Makefile中使用$$的使用
- Makefile中使用$$的使用
- Red5的使用--使用日志
- prefernce的使用具体使用
- 【工具使用】git 的使用
- 关于使用AsyncTaskLoader的使用
- 使用CABasicAnimation的基本使用
- 使用RocketMQ的客户端使用
- RxAndroid
- Axure7版本下载、汉化及序列号
- 使用git连接到Github
- mysql中文乱码
- iOS App发布流程
- core_param的使用
- Hibernate通过注解实现复合主键
- 学习python的文件处理
- 字体的大小(pt)和像素(px)如何转换?
- 匹配
- c#验证码
- 关于map
- setFocusable、setEnabled、setClickable区别
- wordpress 发送电子邮件