iPXE
Data Fields
vmbus_ring Struct Reference

VMBus ring buffer. More...

#include <vmbus.h>

Data Fields

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

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

◆ prod

uint32_t vmbus_ring::prod

Producer index (modulo ring length)

Definition at line 363 of file vmbus.h.

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

◆ cons

uint32_t vmbus_ring::cons

Consumer index (modulo ring length)

Definition at line 365 of file vmbus.h.

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

◆ intr_mask

uint32_t vmbus_ring::intr_mask

Interrupt mask.

Definition at line 367 of file vmbus.h.

Referenced by vmbus_dump_channel(), and vmbus_send().

◆ reserved

uint8_t vmbus_ring::reserved[4084]

Reserved.

Definition at line 369 of file vmbus.h.

◆ data

uint8_t vmbus_ring::data[0]

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: