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.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
