L4Re Operating System Framework
Interface and Usage Documentation
|
Data Structures | |
struct | l4shmc_ringbuf_head_t |
Head field of a ring buffer. More... | |
struct | l4shmc_ringbuf_t |
Ring buffer. More... | |
Macros | |
#define | L4SHMC_RINGBUF_HEAD(ringbuf) ((l4shmc_ringbuf_head_t*)((ringbuf)->_addr)) |
Get ring buffer head pointer. | |
#define | L4SHMC_RINGBUF_DATA(ringbuf) (L4SHMC_RINGBUF_HEAD(ringbuf)->data) |
Get ring buffer data pointer. | |
#define | L4SHMC_RINGBUF_DATA_SIZE(ringbuf) ((ringbuf)->_size - sizeof(l4shmc_ringbuf_head_t)) |
Get size of data area. | |
#define L4SHMC_RINGBUF_DATA | ( | ringbuf | ) | (L4SHMC_RINGBUF_HEAD(ringbuf)->data) |
Get ring buffer data pointer.
ringbuf | l4shmc_ringbuf_t struct |
#define L4SHMC_RINGBUF_DATA_SIZE | ( | ringbuf | ) | ((ringbuf)->_size - sizeof(l4shmc_ringbuf_head_t)) |
Get size of data area.
ringbuf | l4shmc_ringbuf_t struct |
#define L4SHMC_RINGBUF_HEAD | ( | ringbuf | ) | ((l4shmc_ringbuf_head_t*)((ringbuf)->_addr)) |
Get ring buffer head pointer.
ringbuf | l4shmc_ringbuf_t struct |