Commit 8d3d8d92 authored by Federico Vaga's avatar Federico Vaga

zio-user.h: fix 64bit alignment of zio_control

Signed-off-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
parent cd591b6f
......@@ -80,22 +80,22 @@ struct zio_control {
/* byte 4*/
uint32_t seq_num; /* block sequence number */
uint32_t flags; /* endianness etc, see below */
uint32_t nsamples; /* number of samples in this data block */
/* byte 16 */
/* byte 12 */
uint16_t ssize; /* sample-size for each of them, in bytes */
uint16_t nbits; /* sample-bits: number of valid bits */
/* byte 20 */
/* byte 16 */
struct addr_zio addr;
/* byte 52 */
/* byte 48 */
struct zio_timestamp tstamp;
/* byte 76 */
/* byte 72 */
uint32_t mem_offset; /* position in mmap buffer of this block */
uint32_t reserved; /* possibly another offset, or space for 64b */
uint32_t flags; /* endianness etc, see below */
/* byte 84 */
/* Each data block is associated with a trigger and its features */
......
......@@ -5,7 +5,7 @@
/* ZIO_VERSION: is a zio_class attribute to identify the framework version*/
#define ZIO_MAJOR_VERSION 0
#define ZIO_MINOR_VERSION 6
#define ZIO_MINOR_VERSION 7
/*
* ZIO_OBJ_NAME_LEN is the name's length used for registered objects
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment