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
pgp1GhrRSQTJx.pgp
Description: PGP signature
_______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
