2021年12月9日

摘要: kernel:3.6硬件:一般soc会有多个sp804外部timer,假设现在timer0作全部时钟设备,timer1作为clocksource。arm smp local timer。核心数据结构对象:1. struct clock_event_device 时钟设备抽象类型,其中set_next 阅读全文
posted @ 2021-12-09 15:08 tycoon3 阅读(516) 评论(0) 推荐(0)
摘要: 我们看一个wmb()和rmb()的使用例子。我们需要到设备驱动中寻找,就顺便选一个我也不清楚的网卡驱动吧(drivers/net/8139too.c)。 static netdev_tx_t rtl8139_start_xmit (struct sk_buff *skb, struct net_de 阅读全文
posted @ 2021-12-09 10:08 tycoon3 阅读(460) 评论(0) 推荐(0)

导航