Re: Using OSKextRequestResouce from kext init routine?
Re: Using OSKextRequestResouce from kext init routine?
- Subject: Re: Using OSKextRequestResouce from kext init routine?
- From: Nik Gervae <email@hidden>
- Date: Mon, 17 May 2010 11:48:38 -0700
On 14 May, 2010, at 18:52 , Ken Hornstein wrote:
>> There should be headerdoc for the function, but I just tried to search
>> for in Xcode and got zilch. The comments are in the header, though.
>
> Right, I read those. But it's a little ... sparse? I mean, yeah,
> I worked out how to call it, but some of the details are a little
> vague. And I did read the release notes that mentioned this function
> so I understand why it was put into place ... and that I'm abusing
> it.
If you find any documentation wanting in detail, please file a radar. There are limits to what we can cram into HeaderDoc, which is the only documentation I contribute directly to, but I spent the first half of my career as a technical writer so I take documentation very seriously and want to make sure it covers the bases. Any question you have that the doc doesn't address is a failure that needs to be corrected. You shouldn't have to experiment with our APIs to figure out how to use them.
>> If you have a BSD kext that requirest a single moderately-sized resource
>> to start, it isn't so bad to just include the data in your executable.
>
> Sigh. If only it was that simple.
>
> I'm in a weird spot. I'm porting a Linux network filesystem to
> MacOS X. Yes, that is almost insane as it sounds. [...]
Michael Smith is providing better advice than I could on this particular problem.
Nik
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden