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
  • RTEMS | Dr... Shaunak Datar (@skdatar)
    • Re: R... Shaunak Datar (@skdatar)
    • Re: R... Shaunak Datar (@skdatar)
    • Re: R... Amar Takhar (@amar)
    • Re: R... Shaunak Datar (@skdatar)
    • Re: R... push (@project_255_bot_c1aa7a132853e9415ecd64c64cf54d4f)
    • Re: R... push (@project_255_bot_c1aa7a132853e9415ecd64c64cf54d4f)
    • Re: R... Kinsey Moore (@opticron)
    • Re: R... Kinsey Moore (@opticron)
      • R... Shaunak Datar (@skdatar)
    • Re: R... Kinsey Moore (@opticron)
      • R... Shaunak Datar (@skdatar)
    • Re: R... i2c_support (@project_255_bot_00584f716a643d95007bea79bc8c5f97)
    • Re: R... i2c_support (@project_255_bot_00584f716a643d95007bea79bc8c5f97)
    • Re: R... i2c_support (@project_255_bot_00584f716a643d95007bea79bc8c5f97)
    • Re: R... i2c_support (@project_255_bot_00584f716a643d95007bea79bc8c5f97)
    • Re: R... i2c_support (@project_255_bot_00584f716a643d95007bea79bc8c5f97)
    • Re: R... Gedare Bloom (@gedare)
    • Re: R... Gedare Bloom (@gedare)
    • Re: R... Shaunak Datar (@skdatar)
    • Re: R... Gedare Bloom (@gedare)

Reply via email to