All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Mayer <h.mayer@domain.hid>
To: adeos-main@gna.org
Subject: Re: [Adeos-main] wake_up_interruptible ?
Date: Tue, 24 Jan 2006 20:23:57 +0100	[thread overview]
Message-ID: <43D67ECD.5020309@domain.hid> (raw)
In-Reply-To: <43D65F27.7000908@domain.hid>


Gilles, now I think I've got what you mean.

Something like this ?

inter_domain_irq = ipipe_alloc_virq();
ret = request_irq(inter_domain_irq, linux_handler, SA_INTERRUPT, "virtualIRQ", NULL);
enable_irq(inter_domain_irq);

void ipipe_handler(unsigned irq) {
	[...]
	ipipe_trigger_irq(inter_domain_irq);
	[...]
}

void linux_handler(void) {
	wake_up_interruptible(&skeleton_wait);
}


I've tried this, but the linux_handler is never called.
I bet I'm missing something very trivial here, but it
doesn't come to mind...

On the other hand, if I request_irq() for the parallelport
INT and pass that INT from IPIPE to linux, the linux_handler
is called. But it doesn't work with a virq.

Thanks and best regards,
Hannes.


  reply	other threads:[~2006-01-24 19:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-21 22:44 [Adeos-main] wake_up_interruptible ? Hannes Mayer
2006-01-23  0:44 ` Alexis Berlemont
2006-01-23 10:56   ` Gilles Chanteperdrix
2006-01-24 17:08     ` Hannes Mayer
2006-01-24 19:23       ` Hannes Mayer [this message]
2006-01-24 20:46         ` Alexis Berlemont
2006-01-24 21:16           ` Hannes Mayer
2006-01-27 16:44             ` Hannes Mayer
2006-01-29 10:50               ` Philippe Gerum
2006-01-30 13:48                 ` Hannes Mayer
2006-01-24 21:08         ` Gilles Chanteperdrix
2006-01-24 21:20           ` Hannes Mayer

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=43D67ECD.5020309@domain.hid \
    --to=h.mayer@domain.hid \
    --cc=adeos-main@gna.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.