DragonFly users List (threaded) for 2012-10
Re: Replacing FBSD mutexes
I'm not sure what's the reasoning behind using those functions to set and
retreive a pointer in the first place?
I have nvidia_ctl_open which uses devfs_set_cdevpri(struct filep)
and then nvidia_ctl_close retrieves the pointer to filep via
Is it OK to store filep in the compilation-unit scope and access it when
> Dear Petr,
> On Thu, Oct 25, 2012 at 10:49:11PM +1100, email@example.com
>> > Another is to look at porting_drivers.txt which is in the tree, but
>> > learn less this way. :)
>> Thanks Sascha.
>> I came access these FreeBSD functions: devfs_get_cdevpriv &
>> What's the correct way to replace these?
> There is none. We have discussed a solution but I have not gotten around
> actually implementing it. Let me know if you want more details or think
> want to do this.
> Markus Pfeiffer, University Manchester
> email: firstname.lastname@example.org | xmpp: