37 #ifndef EM_EVENT_TYPES_H_
38 #define EM_EVENT_TYPES_H_
44 COMPILE_TIME_ASSERT(
sizeof(em_event_t) ==
sizeof(odp_event_t),
45 EM_EVENT_SIZE_MISMATCH);
56 #define USER_FLAG_SET 1
70 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
73 #elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
80 COMPILE_TIME_ASSERT(
sizeof(
evhdl_t) ==
sizeof(em_event_t), EVHDL_T_SIZE_ERROR);
89 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
92 #elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
99 COMPILE_TIME_ASSERT(
sizeof(
stash_entry_t) ==
sizeof(uint64_t),
100 STASH_ENTRY_T_SIZE_ERROR);
118 COMPILE_TIME_ASSERT(
sizeof(evstate_cnt_t) ==
sizeof(uint64_t),
119 EVSTATE_CNT_T_SIZE_ERROR);
177 EV_HDR_USER_AREA_T_SIZE_ERROR);
289 void *end[0] ODP_ALIGNED(8);
292 COMPILE_TIME_ASSERT(
sizeof(
event_hdr_t) <= 64, EVENT_HDR_SIZE_ERROR);
293 COMPILE_TIME_ASSERT(
sizeof(
event_hdr_t) %
sizeof(uint64_t) == 0, EVENT_HDR_SIZE_ERROR2);
316 EVENT_PREALLOC_HDR_SIZE_ERROR);
319 EVENT_PREALLOC_HDR_SIZE_ERROR2);
322 EVENT_PREALLOC_HDR_SIZE_ERROR3);