嵌入式linux的题目 你懂你牛?

来源:百度知道 编辑:UC知道 时间:2024/06/18 06:16:06
1) What is the difference between a block device driver and a character device driver?
2)What services does Linux need for loading and unloading drivers at run time? (think about challenges of linking run time)
3)What is the purpose of Run and Turbo mode? Is there any relation between program workload characteristics and CPU performance in Run and Turbo modes? how?
中文回答 要答案啊 题目只是吸引人而已 没有恶意

字符设备就是像键盘一类的设备,没有缓冲区,不能随机访问,只能顺序访问。
块设备就是像磁盘,可以随机访问,有缓冲区
Linux我不熟,所以后两题我不知道

楼主是要答案还是要翻译?

Linux支持三种硬件设备类型:字符,块和网络设备。字符设备的读写不需要缓冲,
例如系统的串行接口/dev/cua0和/dev/cua1。块设备的读和写只能以块的单位来进行,块的大
小一般是512字节或1024字节。块设备的读写是通过缓冲Cache并且可以被随机存取。
随机存取意味著你可以定位块设备的任一个块并进行读取;块设备的存取可以通过
其设备特殊文件,但更通常的是通过文件系统。只有块设备支持文件系统的安装(Mount)
。网络设备的存取是通过BSD的Socket接口和网络子系统(请参阅网络章节)。