学习总结,分享快乐。 望指正错误, 共同提高!!!
发布时间:2015-06-24 15:27:47
1> # dpkg --get-selections | grep linux 2> # uname -r //正在使用内核 3> # apt-get remove linux-image-x.xx.x-xx-generic 4> # sudo update-grub //更新启动项......【阅读全文】
发布时间:2015-06-17 16:53:25
1> 忙等待: 1》void ndelay(unsigned long ns); 2》void udelay(unsigned long us); 3》void mdelay(unsigned long ms); xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2> 睡眠: 1》void msleep(unsigned .........【阅读全文】
发布时间:2015-06-16 18:14:50
4种方法: 1> 忙等待: 点击(此处)折叠或打开 void 1_delay(u32 sec) { unsigned long end_point = jiffies + sec*HZ; while(!time_before_eq(end_point, jiffies)){ /*nothing*/; &.........【阅读全文】