[PATCH] Add mmap
Christian Mauderer
christian.mauderer at embedded-brains.de
Wed Jul 17 06:51:08 UTC 2019
On 16/07/2019 22:44, Chris Johns wrote:
> On 17/7/19 12:29 am, Vijay Kumar Banerjee wrote:
>> ---
>> freebsd/sys/kern/kern_conf.c | 8 ++++----
>> freebsd/sys/sys/conf.h | 2 +-
>> rtemsbsd/include/machine/vm.h | 2 ++
>> rtemsbsd/sys/fs/devfs/devfs_devs.c | 10 ++++++++++
>> 4 files changed, 17 insertions(+), 5 deletions(-)
>
> Should there be a test added for this interface? I am not sure what sort of test
> should be added.
>
> Chris
Hello Chris,
like Vijay said in his introduction mail: I asked him to send a preview
of the patch so that Nils can start working with it. Vijay already sent
a second version with a test. Basically it's the same structure like for
the other calls: A test whether the devfs layer routes the call through
to the driver.
The mmap can only work for some drivers. Basically every driver that
returns a pointer to some existing memory location. So with this patch
we have to take a better look at mmap implementation of drivers in the
future.
Best regards
Christian
--
--------------------------------------------
embedded brains GmbH
Herr Christian Mauderer
Dornierstr. 4
D-82178 Puchheim
Germany
email: christian.mauderer at embedded-brains.de
Phone: +49-89-18 94 741 - 18
Fax: +49-89-18 94 741 - 08
PGP: Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list