IMFS_GENERIC_INITIALIZER deprecated?
Isaac Gutekunst
isaac.gutekunst at vecna.com
Mon Mar 7 20:12:05 UTC 2016
On 03/07/2016 02:44 PM, Sebastian Huber wrote:
>
>
> ----- Am 7. Mrz 2016 um 20:07 schrieb Joel Sherrill joel at rtems.org:
>
>> On Mon, Mar 7, 2016 at 12:04 PM, Isaac Gutekunst <isaac.gutekunst at vecna.com>
>> wrote:
>>
>>> Hi Developers,
>>>
>>> We have used IMFS_GENERIC_INITIALIZER as part of some code that makes IMFS
>>> nodes for devices.
>
> The IMFS generic nodes have no stable API yet. For an examples see:
>
> cpukit/dev/i2c/i2c-bus.c
> cpukit/dev/i2c/i2c-dev.c
That's what I based my implementation on.. Silly of me not to check
these file first. Thanks, that was enough to get this to work again.
Isaac
> cpukit/libblock/src/blkdev-imfs.c
>
>>>
>>>
>> Can't you use the POSIX mknod() or the wrapper method rtems_io_register_
>> name()?
>
> This stuff has a high overhead and doesn't give you access to all filesystem handlers.
>
More information about the devel
mailing list