he value of add is hardcoded to the value printed for the physical
address in the drivers prink routine.
The lseek/read from the /dev/mem device yields the value 0x11223344.
However the mmap method also on /dev/mem yields the value 0.
Whats wrong with my mmap() or kalloc() ?
Terry
--
Dr Ter
or at least pages before I call map_user_kiobuf() ?
Cheers
Terry
--
Dr Terry Barnaby BEAM Ltd
Phone: +44 1454 324512 Northavon Business Center, Dean Rd
Fax: +44 1454 313172 Yate, Bristol, BS37 5NH, UK
Email: [EMAIL PROTECTED]Web
physical memory the user address space.
I note that the RedHat kernels have a patched kernel containing the
kiobuf code but the
standard linux source does not right up to 2.4.2.
Is there a better recommended way to perform DMA access to user memory
from a device
using the Linux kernel ?
Cheers
Terry
3 matches
Mail list logo