#include <mpcomm.h>
Public Attributes | |
uint8_t | mode |
mpmq_t | mq_2_supervisor |
mpmq_t | mq_2_controller |
helper_info_t | helpers [MPCOMM_MAX_HELPERS] |
cpu_set_t | helpers_cpuset |
cpu_set_t | helpers_doneset |
uint8_t | supervisor_done |
uint8_t | helpers_num |
mpcomm_user_func_t | controller_user_func |
mpcomm_user_func_t | helper_user_func |
uintptr_t | loadaddr |
uint8_t | quit_loop |
Structure of information needed by a controller and helpers in the MPCOMM framework.
uint8_t mode |
Worker mode.
helper_info_t helpers[MPCOMM_MAX_HELPERS] |
Information about helpers. See helper_info_t
cpu_set_t helpers_cpuset |
Set of CPUs used as a helper. See cpu_set_t
cpu_set_t helpers_doneset |
Set of CPUs used as a helper that sends a MPCOMM_MSG_ID_DONE message. See cpu_set_t
uint8_t supervisor_done |
If 1 then controller received MPCOMM_MSG_ID_DONE message from supervisor, if 0 it did not.
uint8_t helpers_num |
Number of helpers used.
mpcomm_user_func_t controller_user_func |
User-defined callback for controller. See mpcomm_user_func_t
mpcomm_user_func_t helper_user_func |
User-defined callback for helpers. See mpcomm_user_func_t
uintptr_t loadaddr |
Controller/Helper load address.
uint8_t quit_loop |
If 0, the helper should stay in the loop and if 1 it should quit.