All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: marcellin <marcellin.fotze@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] interrupt wait problem
Date: Tue, 14 Mar 2006 14:28:30 +0100	[thread overview]
Message-ID: <17430.50430.76997.550310@domain.hid> (raw)
In-Reply-To: <44168DA0.3090506@domain.hid>

marcellin wrote:
 > 
 > 
 > Hi, i'm trying to use the RealTimeClock IRQ 8, with a xenomai real time 
 > task. I configure the RTC to have a periodic interrupt on it with the 
 > linux standard API, and it works. After when i want to catch the IRQ 8 
 > in a xenomai real time task i have a problem a error ( " Operation not 
 > permitted ") with the " rt_intr_wait " fonction. Is there a special 
 > initialisation or configuration to make with the kernel or Xenomai ?

As mentioned by Jan, rt_intr_wait() and generally every service which
block its caller may only be called from a real-time task, i.e. a task
created with rt_task_create() or made real-time with rt_task_shadow().

Also note that Xenomai system timer allow high frequency periodic
tasks without resorting to the RTC, see rt_task_set_periodic() and
rt_task_wait_period() services.

-- 


					    Gilles Chanteperdrix.


      parent reply	other threads:[~2006-03-14 13:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-14  9:32 [Xenomai-help] interrupt wait problem marcellin
2006-03-14 13:23 ` Dmitry Adamushko
2006-03-14 13:28 ` Gilles Chanteperdrix [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17430.50430.76997.550310@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=marcellin.fotze@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.