RTEMS | bsp/aarch64/raspberrypi: Add Mailbox Support (!915)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Jan 15 22:43:13 UTC 2026
Kinsey Moore started a new discussion on bsps/aarch64/raspberrypi/start/mailbox.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/915#note_138815
> +
> + memset(buffer, 0, size);
> + return RTEMS_SUCCESSFUL;
> +}
> +
> +
> +
> +void rpi_mbox_write(uint8_t channel, uint32_t data){
> + while(BCM2835_REG(BCM2711_MBOX_STATUS) & BCM2711_MBOX_FULL){
> + }
> +
> + BCM2835_REG(BCM2711_MBOX_WRITE) = (data & MBOX_MAIL_DATA_MASK) | (channel & MBOX_MAIL_CHANNEL_MASK);
> +
> +}
> +
> +uint32_t rpi_mbox_read(uint8_t channel){
Channel validation and possibility of failure may require a change to this function signature.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/915#note_138815
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260115/27de8970/attachment.htm>
More information about the bugs
mailing list