[PATCH] <NOT WORKING> port FB and TDA drivers
Vijay Kumar Banerjee
vijaykumar9597 at gmail.com
Tue Jun 18 19:59:40 UTC 2019
The PATCH 1/2 was too big for the devel. So, I'm posting the
github link for the commit here :
https://github.com/thelunatic/rtems-libbsd/commit/ae8c32365d1ce600a370c7fb7e0095375653a4f5
On Wed, Jun 19, 2019 at 1:23 AM Vijay Kumar Banerjee <
vijaykumar9597 at gmail.com> wrote:
>
> This Patch series contains the patches to import and port
> the drivers for FB and TDA from FreeBSD. This is not a working
> patch and the purpose of sending the patch to the list is to
> ask for a help regarding a build issue with the FB files that
> use /arm/include/bus.h file.
> In rtemsbsd/ we have the bus.h file for RTEMS and I think that
> is the one to be used by the drivers and the bus.h is not
> supposed to be imported from the FreeBSD. The error I'm
> seeing is this:
>
> ```
> ../../freebsd/sys/dev/vt/hw/fb/vt_early_fb.c:244:7: error:
> 'BUS_SPACE_MAP_PREFETCHABLE' undeclared (first use in this function); did
> you mean 'BUS_SPACE_MAXSIZE_32BIT'?
> BUS_SPACE_MAP_PREFETCHABLE,
> ^~~~~~~~~~~~~~~~~~~~~~~~~~
> BUS_SPACE_MAXSIZE_32BIT
> ```
> After a discussion with the mentors, Christian told me that
> most likely RTEMS doesn't use the 'bus_space_map' flags.
>
> Should I use "#ifndef __rtems__" codeguards to ommit this
> from the build? How to deal with this error here ?
>
> Thanks,
> Vijay
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190619/bd04b168/attachment-0002.html>
More information about the devel
mailing list