I/O difficulties
Luciano Rocha
strange at nsk.no-ip.org
Thu Aug 2 03:13:18 PDT 2007
On Wed, Aug 01, 2007 at 02:59:25PM -0700, vahid rashtchi wrote:
> I am using KB9202b evaluation board for developing a real time control system project. I am using c++ for programming and use buildroot compiler.I have difficulties in input /output operation and configuring interupt routin under busybox.
> I can't perform I/O operation and see "permission denied" error. Does anyone have sample source code for these propose ?
For the low-level I/O instructions (inb, inw, outb, outw, ...), you need
to explicitly enable them with ioperm or iopl. See their manual pages.
However, you can't change the interrupt routing table. You need to
develop a kernel driver instead. See the book Linux Device Drivers:
http://lwn.net/Kernel/LDD3/
(also http://www.kroah.com/log/linux/ddk.html)
--
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20070802/39b54895/attachment.pgp
More information about the busybox
mailing list