[Question] How access standard PC io port?

From: liyu
Date: Tue May 09 2006 - 03:24:23 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/