|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
Almost all Linux kernel device drivers work on more than just one type of processor.
This only happens because device-driver writers adhere to a few important rules.
These rules include using the proper variable types, not relying on specific memory
page sizes, being aware of endian issues with external data, setting up proper data
alignment and accessing device memory locations through the proper interface. This
article explains these rules, shows why it is important that they be followed and gives
examples of them in use. |
|