[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] Re: your mail



On Sat, 22 Apr 2000, Michael Barabanov wrote:

> mmap and other posix file functions are supported in rtl_posixio.o,
> so mmap is available for RT-threads. mmap on /dev/mem does
> ioremap internally. This is more of a proof of concept
> right now, but it does work. See examples/mmap.

A, sorry, I did not know you are so far.
But anyway, I do not feel good about including
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>

in the kernel code.

Best regards,
--
Tomek