From: Jes Sorensen <jes@trained-monkey.org>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Frank v Waveren <fvw@var.cx>,
Kernel Developer List <linux-kernel@vger.kernel.org>
Subject: Re: How do I access ioports from userspace?
Date: 26 Sep 2003 04:56:50 -0400 [thread overview]
Message-ID: <m3vfrg0vxp.fsf@trained-monkey.org> (raw)
In-Reply-To: <1064562042.28617.23.camel@gaston>
>>>>> "Ben" == Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:
Ben> On Fri, 2003-09-26 at 09:34, Frank v Waveren wrote:
>> in[bwl]/out[bwl] are available on a lot more than just x86. Mind
>> you, the mechanisms are subtly different. Then again, if you're
>> using direct hardware access you're not going for portability
>> anyway.
Ben> Are they from userland ? I doubt it...
Actually yes on some architectures, ia64 emulates it the ia32
API. That said, it's certainly not something one should be encouraged
to do, using MMIO is a far better approach.
Cheers,
Jes
next prev parent reply other threads:[~2003-09-26 8:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-25 23:03 How do I access ioports from userspace? Matthew Dharm
2003-09-25 23:21 ` Greg KH
2003-09-26 5:26 ` Frank v Waveren
2003-09-26 7:27 ` Benjamin Herrenschmidt
2003-09-26 7:34 ` Frank v Waveren
2003-09-26 7:40 ` Benjamin Herrenschmidt
2003-09-26 8:29 ` Frank v Waveren
2003-09-26 8:56 ` Jes Sorensen [this message]
2003-09-28 23:07 ` Peter Chubb
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=m3vfrg0vxp.fsf@trained-monkey.org \
--to=jes@trained-monkey.org \
--cc=benh@kernel.crashing.org \
--cc=fvw@var.cx \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox