Reputation: 267
What would be the equivalent function i could choose in LINUX as compared to below DOS calls ?
inportb(x) outportb(x,v)
Thanks Brijesh
Upvotes: 2
Views: 1225
Reputation: 4002
You can use inb() and outb() calls. Go here you'll find more information how to use it.
inb() and outb()
Upvotes: 1
Reputation: 22094
If you are doing only port I/O then you can use ioperm to change permissions and then use in*/out* from user space. Obviously user permissions still apply.