PCI bus mastering in userland

Davide Rossetti (rossetti@pcape2.roma1.infn.it)
Tue, 23 Jul 1996 19:02:37 +0100


Hi folks,
I am programming a driver for a evaluation board from AMCC.
The kernel module is OK, with or without bus mastering and irq support.
But one of my great concerns is to offer a user-mode driver, too;
FIFO programming is quite easy, and what about bus mastering transfers in
user-mode ?
I need a buffer in user-mode which is:
1) not swappable -- a physical memory
2) i need to convert this a physical address to write on the proper
register of my board (which knows only phys memory, i suppose)

thanks in advance

*-----------------------------------------------*
| Davide Rossetti - sysop of Thera S.r.l |
| rossetti@pcape2.roma1.infn.it |
| rossetti@vxrm64.roma1.infn.it |
| root@thera.iunet.it |
*-----------------------------------------------*