RTEMS 6.1-rc5
|
Buffer Header. More...
#include <vc_defines.h>
Data Fields | |
uint32_t | buf_size |
Buffer Size. | |
uint32_t | buf_code |
Buffer Code. | |
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'
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
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.