skip to content
==> src/ext.c <==
1/* @ajax/mesh-abi-ext: its tables and functions. */
2#include "mesh/abi/ext.h"
3
4const char *const MESH_FIELD_TYPES[5] = {"u32", "i32", "f32", "u64", "u8"};
5
6const mesh_field MESH_EXT_FIELDS[15] = {
7    {MESH_PX_COUNTER_NAMES, MESH_NAME_BYTES * MESH_COUNTERS},
8    {MESH_PX_FIELD_COUNT, 4},
9    {MESH_PX_PLACE_CAP, 4},
10    {MESH_PX_PLACE, 4},
11    {MESH_PX_PLACE_SYS, 4},
12    {MESH_PX_PLACE_ASSIGN, MESH_PLACE_PARTS_MAX},
13    {MESH_PX_PER_SM, 4},
14    {MESH_PX_LOCAL, 4},
15    {MESH_PX_PARAM, 4},
16    {MESH_PX_EXEC, 4},
17    {MESH_PX_FIELDS, MESH_FIELD_BYTES * MESH_MAX_FIELDS},
18    {MESH_PX_SHARED, 4},
19    {MESH_PX_REG_CAP, 4},
20    {MESH_PX_SCRATCH_BYTES, 4},
21    {MESH_PX_SCRATCH, 8},
22};