Gedare Bloom created an issue: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5602



## Summary
<!--
Please provide as much information as possible such as error messages or 
attaching logs
-->

The `rtems_fdt_prop_map()` is only able to map properties whose lengths are 
less than or equal to the size of a pointer (`uintptr_t`). This is not 
documented in the API. This limitation also means that code that may work on a 
64-bit architecture (lp64) may fail on a 32-bit (ilp32) one, if the property 
requested is 64-bits. It also means that the call could succeed/fail 
arbitrarily on variable-length properties (i.e., strings) if they happen to fit 
in the `uintptr_t` size.

I'm not sure if this is something we should document explicitly and leave 
as-is, or if we should make it more flexible, or perhaps more rigid.

<!-- Pre-set options
- milestone
-->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5602
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

Reply via email to