0

Mac OS Xで使用したいLinuxドライバーがあります。Mac OS X が BSD に基づいていることは知っています。

ドライバを Mac OS X に移植する必要がありますか、それとも C++ の I/O Kit を使用して Mac OS X で書き直す必要がありますか?

Linux ドライバーは、一部の PCI デバイス用です。

4

2 に答える 2

1

This is really vague since it really depends on the details of code/hardware/skill(yours) but her is my thoughts on it.

It really depends on the quality of the existing code. If it's not really really bad I would try to port it first and then probably tweak it after I got it running. But if you think you could do a good/better job (perhaps because you are very familiar with the hardware) in a reasonable time you could write your own.

于 2009-07-17T23:20:33.173 に答える
0

私の知る限り (そして私は専門家ではありません)、Mac OS X は独自のドライバー モデル (I/O Kit と呼ばれます) を使用します。これは UNIX 系のドライバー モデルに基づいていないため、Linux コードの多くを移植できる可能性は低いでしょう。

于 2010-12-26T13:22:29.173 に答える