Pavel Pisa created a merge request:
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/130
Project:Branches: ppisa/lib-bsd:fix-missing-maxaddr_40bit-on-32-bit-tagets to
rtems/pkg/rtems-libbsd:7-freebsd-14
Author: Pavel Pisa
## Summary
arm64/broadcom/genet/if_genet.c (Raspberrypi4b): allow build for 32-bit x86
The BUS_SPACE_MAXADDR_40BIT is not defined for RTEMS configured by
$RTEMS_DIR/waf bspdefaults --rtems-bsps=i386/pc686 -t "$RTEMS_DIR" \
-o $MY_DIR --prefix /opt/rtems/7
The proposed limitation of to BUS_SPACE_MAXADDR_32BIT solves the problem
when the BUS_SPACE_MAXADDR_40BIT is not defined for (at least some) 32-bit
targets.
The problem is caused because define of BUS_SPACE_MAXADDR_48BIT
has been conditionalized in mainline
/opt/rtems/7/i386-rtems7/pc686/lib/include/machine/bus.h:
#if defined(__amd64__) || defined(PAE)
#define BUS_SPACE_MAXADDR_48BIT 0xFFFFFFFFFFFFULL
#define BUS_SPACE_MAXADDR 0xFFFFFFFFFFFFFFFFULL
#else
#define BUS_SPACE_MAXADDR 0xFFFFFFFF
#endif
Signed-off-by: Pavel Pisa <[email protected]>
--
View it on GitLab:
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/130
You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs