繁体   English   中英

如何将平台特定的数据从一个平台设备/驱动程序传递到另一平台设备/驱动程序

[英]How Can I Pass Platform specific data from one platform device/driver to another platform device/driver

我有两个平台设备/驱动程序-例如Pdriver1和Pdriver2。 我想从Pdriver2访问Pdriver1的平台特定数据。 我怎样才能做到这一点?

在模块pdriver1 ,应使用EXPORT_SYMBOL注册外部符号,以允许其他模块访问它。

然后,应将pdriver1指定为pdriver1的依赖pdriver2 ,以便modprobe将在pdriver1之前加载pdriver2 然后在pdriver2您可以访问pdriver1导出符号。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM