Hello, I need to write a program to work with 43h, 61h ports on Gentoo Linux 2.6, i686
Actually I read a few Guides like "The Linux Kernel Module Programming".
I wrote HelloWorld module on C, but I don't know how to work with ports without "outportb(), inportb()" fuctions on C.
Also, I know how to write such program on NASM, but I don't know how to compile/link it in right way for 2.6 kernel, insmod command gives an "-1 error invalid file format"
0 · ·