i.MX 6 SoloX MCC
Shared memory Cores communicate through shared memory
Core structures of the MCC MCC_ENDPOINT
core
node
port
The number of endpoints in system is defined during compile time by macro MCC_ATTR_MAX_RECEIVE_ENDPOINTS.
MCC_BOOKEEPING_STRUCT Endpoint table I.
MCC API Functions
−int mcc_initialize(MCC_NODE);
−int mcc_destroy(MCC_NODE);
−int mcc_create_endpoint(MCC_ENDPOINT*, MCC_PORT);
−int mcc_destroy_endpoint(MCC_ENDPOINT*);
−int mcc_send(MCC_ENDPOINT*, MCC_ENDPOINT*, void*, MCC_MEM_SIZE, unsigned int);
−int mcc_recv(MCC_ENDPOINT*, MCC_ENDPOINT*, void*, MCC_MEM_SIZE, MCC_MEM_SIZE*, unsigned int);
−int mcc_msgs_available(MCC_ENDPOINT*, unsigned int*);
−int mcc_get_info(MCC_NODE, MCC_INFO_STRUCT*);
−int mcc_get_buffer(void**, MCC_MEM_SIZE*, unsigned int);
−int mcc_send_nocopy(MCC_ENDPOINT*, MCC_ENDPOINT*, void*, MCC_MEM_SIZE);
−int mcc_recv_nocopy(MCC_ENDPOINT*, MCC_ENDPOINT*, void**, MCC_MEM_SIZE*, unsigned int);
−int mcc_free_buffer(void*);