From: liyu <liyu@ccoss.com.cn>
To: LKML <linux-kernel@vger.kernel.org>
Subject: [Question] How access standard PC io port?
Date: Tue, 09 May 2006 15:24:05 +0800 [thread overview]
Message-ID: <44604395.9070909@ccoss.com.cn> (raw)
Hello:
I have one question about standard PC(i386) resource (io port).
I found we register these resource here:
http://lxr.linux.no/source/arch/i386/kernel/setup.c#L1185
I want to read/write some data from PS/2 keyboard controller buffer
(IOW, from io port 0x60), and I guest that the buffer may corrupt in SMP
envionment if we access them without something like lock protect,
but I can not find any information or code related.
Which great guru would like help me a little bit?
Thanks in advanced.
-liyu
reply other threads:[~2006-05-09 7:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=44604395.9070909@ccoss.com.cn \
--to=liyu@ccoss.com.cn \
--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