5.3.8. Memory mapping
- allows userspace direct access to device memory
- benefits:
- avoids buffering: can improve performace
- direct access to registers can avoid =ioctl=s
- only makes sense in certain circumstances: e.g. not for stream oriented devices
API: mmap
file operationint *mmap (struct file *filp, struct vm_area_struct *vma);
5.3.7. poll and =select= | 1. Denx Training Topics | 5.4. Debugging Techniques | |||
| Prev | Home | Next | |||
