On 10/01/07, M. Koehrer <[EMAIL PROTECTED]> wrote:
Hi,
one more comment on this issue:
Regarding to the API documentation it is not required to use a static allocated
string for the name parameter
(API docu: "When non-NULL and non-empty, this string is copied to a safe place into
the descriptor").
However, when I use a name variable that is created on the stack (using
sprintf), I see
that the /proc/xenomai/registry/native/interrupts/xxx name is fine, however
the name in
/proc/xenomai/irq is not valid.
I.e. I have to use a static name variable to pass to rt_inter_create() as the
name pointer
seems to be used without a copy action in /proc/xenomai/irq.
You didn't apply the patches I sent, did you?
The second patch (intr_swap.patch) should address this issue.
--
Best regards,
Dmitry Adamushko
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help