Re: [PATCH] Add mmap

2019-07-16 Thread Christian Mauderer
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 ++

Re: [PATCH] Add mmap

2019-07-16 Thread Chris Johns
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 deleti

[PATCH] Add mmap in libbsd

2019-07-16 Thread Vijay Kumar Banerjee
Hello, The following patch adds d_mmap_t to the cdevsw through a wrapper devfs_imfs_mmap to connect the RTEMS mmap to the respective driver mmap in the libbsd drivers. This patch DOES NOT have a devfs test included and hence is NOT mergeable as of now. This is a preview patch and the intention

[PATCH] Add mmap

2019-07-16 Thread Vijay Kumar Banerjee
--- 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(-) diff --git a/freebsd/sys/kern/kern_conf.c b/freebsd/s