RTEMS | bsp/aarch64/raspberrypi: Add Mailbox Support (!915)

Kinsey Moore (@opticron) gitlab at rtems.org
Thu Jan 15 22:40:59 UTC 2026




Kinsey Moore started a new discussion on bsps/aarch64/raspberrypi/include/bsp/mailbox.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/915#note_138812

 > + * Prepares a message buffer with the specified property tags for communication
 > + * with the VideoCore GPU. This function constructs the message by populating
 > + * the header and creating tags based on the provided metadata array.
 > + * 
 > + * The message buffer must be 16-byte aligned (e.g., allocated with aligned_alloc()).
 > + * After initialization, call rpi_mbox_process() to send the message to VideoCore.
 > + * 
 > + * @param msg Pointer to 16-byte aligned message buffer
 > + * @param buffer_size Total size of the message buffer in bytes
 > + * @param tags Array of tag metadata describing the properties to query/set
 > + * @param tag_count Number of tags in the tags array
 > + * 
 > + * @return RTEMS_SUCCESSFUL if initialization succeeded
 > + * @return RTEMS_INVALID_SIZE if buffer_size is too small for the specified tags
 > + */
 > +rtems_status_code rpi_mbox_property_message_init( mbox_property_message *msg, size_t buffer_size, const mbox_property_tag_metadata *tags, unsigned int tag_count );

Ensure that all lines are 80 columns or less where possible. The parameter list here can be broken out into separate lines for each parameter followed by a closing `};` on a following line.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/915#note_138812
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/95f1d7c9/attachment-0001.htm>


More information about the bugs mailing list