Re: [Xenomai-help] Accessing the dev_private field of the RTDM driver context

2006-02-22 Thread Jeroen Van den Keybus
Indeed. Thanks and sorry for bothering. Jeroen. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

[Xenomai-help] Accessing the dev_private field of the RTDM driver context

2006-02-22 Thread Jeroen Van den Keybus
The dev_private data field of an rtdm_dev_context is defined as char[0]. How do I access such a field properly (given the fact that I defined a nonzero context_size in the rtdm_device structure during driver registration) ? E.g. trying to do: (struct my_struct *)context-dev_private = NULL;