Messages in this thread |  | | Date | Tue, 9 Feb 2021 17:04:44 +0100 (CET) | From | Richard Weinberger <> | Subject | Re: [fuse-devel] [PATCH 0/8] MUSE: Userspace backed MTD v3 |
| |
----- Ursprüngliche Mail ----- > for example, many existing video applications use mmap() to map the > device memory to userspace memory. Adding support for mmap() to CUSE > would allow these apps to work without any modifications with CUSE-based > device drivers other than kernel drivers.
So you want to access device memory via CUSE? We have plenty of mechanisms in Linux to allow userspace accessing device memory. E.g. /dev/mem, UIO, VFIO.
A simple (but ugly!) approach would be redirecting mmap() requests on CUSE devices to /dev/mem. hmm?
Thanks, //richard
|  |