RTEMS  5.0.0
Data Fields
bcm2835_mbox_buf_hdr Struct Reference

Buffer Header. More...

#include <vc_defines.h>

Data Fields

uint32_t buf_size
 Buffer Size. More...
 
uint32_t buf_code
 Buffer Code. More...
 

Detailed Description

Buffer Header.

All message buffers should start with this header, called 'hdr'. Then it should be followed by a list of tags. An additional empty tag should be added at the end, called 'end_tag'

Field Documentation

◆ buf_code

uint32_t bcm2835_mbox_buf_hdr::buf_code

Buffer Code.

The code indicate the status of operation. Use function BCM2835_MAILBOX_BUFFER_IS_SUCCEED(bcm2835_mailbox_buffer*) to check if the operation is succeed

◆ buf_size

uint32_t bcm2835_mbox_buf_hdr::buf_size

Buffer Size.

The size of whole structure including the header(size and code), tags, end tag and padding.


The documentation for this struct was generated from the following file: