linux、
文章平均质量分 85
高山映月
这个作者很懒,什么都没留下…
展开
-
tty驱动
参考:http://www.wowotech.net/tty_framework/435.html 一、框架 用户层只要初始化后注册进tty_core即可 二、读写流程 1. 读: usr_buf--->ld线程里阻塞读--->tty_port[struct tty_bufhead buf]会唤醒 2.写 usr_buf--->copy到tty_st...原创 2020-04-05 14:55:05 · 531 阅读 · 0 评论 -
linux systemd启动过程
一、自己的文件如何启动? 1. 写xxx.service脚本,并放入usr/lib/systemd/system目录下; 2. 上电后运行 systemctl enable test.service 增加由/lib/systemd/system/到/etc/systemd/system/multi-user.target.wants/下的软链接 ln -s '/usr/lib/system...原创 2020-03-27 15:04:50 · 516 阅读 · 0 评论