Kinsey Moore started a new discussion on bsps/aarch64/raspberrypi/i2c/raspberrypi-i2c.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/363#note_121021 > + * POSSIBILITY OF SUCH DAMAGE. > + */ > + > +#include <bsp/raspberrypi-i2c.h> > +#include <bsp/raspberrypi.h> > +#include <bsp/rpi-gpio.h> > +#include <dev/i2c/i2c.h> > +#include <bsp/irq.h> > +#include <stdio.h> > + > +typedef struct > +{ > + i2c_bus base; > + uint32_t input_clock; > + rtems_id task_id; > + uint32_t base_address; This should be a uintptr_t for best compatibility if this ever needs to be ported to the 32bit BSPs or if future iterations of the 64bit chip move the peripheral above 4GB. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/363#note_121021 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs