ffits's recent timeline updates
ffits

ffits

V2EX member #51887, joined on 2013-12-15 10:50:43 +08:00
ffits's recent replies
已解决:

在模块中注册一个字符设备,实现其write函数。write的原形是ssize_t write(struct file *filp, const void __user *buff, size_t len, loff_t *off), 其中buff可以强制转换为struct类型。在write函数中使用copy_from_user函数,就可以将buff变量赋给内核中的某个变量。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4942 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 166ms · UTC 05:40 · PVG 13:40 · LAX 22:40 · JFK 01:40
♥ Do have faith in what you're doing.