gpt4 book ai didi

linux - OpenFirmware 接口(interface)的用途是什么

转载 作者:太空宇宙 更新时间:2023-11-04 11:38:09 25 4
gpt4 key购买 nike

浏览内核源代码并查看一些驱动程序时,我发现了一些以前缀“of”命名的方法和结构(例如 struct of_device 和 the method of_phy_connect)。我认为前缀意味着 OpenFirmware。特别是我感兴趣的驱动程序 (ucc_geth) 使用这些函数...目的是什么?

最佳答案

它们用于在使用 OpenFirmware 的系统(New World Mac、OLPC XO 系统等)上枚举/操作设备。

关于linux - OpenFirmware 接口(interface)的用途是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6044561/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com