All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Mayer <h.mayer@domain.hid>
To: mani bhatti <imranbashirbhatti@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] user space interrupt
Date: Sat, 16 Dec 2006 18:10:12 +0100	[thread overview]
Message-ID: <45842874.6080103@domain.hid> (raw)
In-Reply-To: <279913.29791.qm@domain.hid>

mani bhatti wrote:
> Hi all
> i am trying to access parallel port form a user space task.i have copied 
> code from an example which runs parallel port in interrupt mode but the 
> problem is that when i run program i get following message
> 
> "iopl err"
> 
> due to this piece of  code
>        
> // ask for permission to access the parallel port from user-space
>         if (iopl(3)) {
>                 printf("iopl err\n");
>                 exit(1);
>         }
> 

Have a look here:
http://www.captain.at/xenomai-parallel-port-interrupt.php

Ciao,
Hannes.



      parent reply	other threads:[~2006-12-16 17:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-08 14:01 [Xenomai-help] user space interrupt mani bhatti
2006-12-08 16:50 ` Gilles Chanteperdrix
2006-12-14 16:27   ` mani bhatti
2006-12-14 16:32     ` Gilles Chanteperdrix
2006-12-15 14:59       ` mani bhatti
2006-12-15 18:18         ` Gilles Chanteperdrix
2006-12-16 17:10 ` Hannes Mayer [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=45842874.6080103@domain.hid \
    --to=h.mayer@domain.hid \
    --cc=imranbashirbhatti@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.