Re: Accessing to a file from a KEXT
Re: Accessing to a file from a KEXT
- Subject: Re: Accessing to a file from a KEXT
- From: John Dalgliesh <email@hidden>
- Date: Tue, 3 May 2005 01:19:42 +1000 (EST)
Hi,
Good timing! I recently encountered the same problem.
You should have a look at the recent and ongoing threads on the
darwin-drivers mailing list concerning this topic. I've got it to work in
my drivers, and in fact the KPI in Tiger makes it a lot nicer than before,
but am coming under heavy fire for doing so.
Just get the kernel source and grep it for examples if you really want to
know how to use the vnode_xxx functions. They're pretty straightforward.
{P^/
On Mon, 2 May 2005, Pezeshgi, Shahriar wrote:
>
> Hi there
> I have a problem with our USB DSL Modem driver under new OS X (Tiger).
> Basically we need to read a configuration file during driver startup ( I
> know that it's a BAD idea to access to file system from a KEXT but this
> is the way our driver has been developed originally under OS X 10.1).
> This driver is working properly under different version of OS X (10.1.x,
> 10.2.x and 10.3.x) but it's not working under Tiger, it's complaining
> about missing symbols like _vn_open, _vn_close and etc. I think new
> vnode api doesn't support old functions under Tiger (am I right?), so I
> looked at KPI->vnode documents but there is no descriptions for
> functions like vnode_open, vnode_close and etc. Where can I find more
> details about vnode api?
>
> Yours
> Shahriar
> _______________________________________________
> 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
>
_______________________________________________
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