Question on mmap(2) with kernel alocated memory

2001-05-04 Thread Terry Barnaby
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

Problem with map_user_kiobuf() not mapping to physical memory

2001-05-02 Thread Terry Barnaby
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

Process memory DMA access from devices, kiobuf ?

2001-03-08 Thread Terry Barnaby
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