iPXE
Data Fields
vmbus_ring Struct Reference

VMBus ring buffer. More...

#include <vmbus.h>

Data Fields

uint32_t prod
 Producer index (modulo ring length)
uint32_t cons
 Consumer index (modulo ring length)
uint32_t intr_mask
 Interrupt mask.
uint8_t reserved [4084]
 Reserved.
uint8_t data [0]
 Ring buffer contents.

Detailed Description

VMBus ring buffer.

This is the structure of the each of the ring buffers created when a VMBus channel is opened.

Definition at line 361 of file vmbus.h.


Field Documentation

Producer index (modulo ring length)

Definition at line 363 of file vmbus.h.

Referenced by vmbus_dump_channel(), and vmbus_send().

Consumer index (modulo ring length)

Definition at line 365 of file vmbus.h.

Referenced by vmbus_dump_channel(), vmbus_poll(), and vmbus_send().

Interrupt mask.

Definition at line 367 of file vmbus.h.

Referenced by vmbus_dump_channel(), and vmbus_send().

Reserved.

Definition at line 369 of file vmbus.h.

Ring buffer contents.

Definition at line 371 of file vmbus.h.

Referenced by vmbus_consume(), vmbus_dump_channel(), and vmbus_produce().


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