From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Misbah khan <misbah_khan@engineer.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Where are inb/outb macros?
Date: Mon, 08 Oct 2007 18:11:35 +1000 [thread overview]
Message-ID: <1191831095.21971.45.camel@pasglop> (raw)
In-Reply-To: <13091078.post@talk.nabble.com>
On Mon, 2007-10-08 at 00:09 -0700, Misbah khan wrote:
> inb/outb could be used from the usr space on x86 class PC-computer to access
> to io ports this is what i assume that you are trying
>
> You need to compile the program with -O option (expantion of Inline function
> )
>
> To perform io operation on ports ioprem/iopl system call must be used (To
> get permissio to perform io operation)
>
> Program must run as root
>
> on non 86 platform try using /dev/port device file in the application
"io ports" don't mean much on non-x86 platforms (or rather can have
multiple meanings) which is why I'm asking what is he trying to od in
the first place.
Ben.
prev parent reply other threads:[~2007-10-08 8:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-06 20:47 Where are inb/outb macros? Peter Lemenkov
2007-10-06 21:08 ` Benjamin Herrenschmidt
2007-10-06 23:46 ` Arnd Bergmann
2007-10-08 6:05 ` Misbah khan
2007-10-08 8:11 ` Benjamin Herrenschmidt [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=1191831095.21971.45.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=misbah_khan@engineer.com \
/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.