90 static uint32_t num_msg_pools;
91 static uint32_t msgq_top_drm;
101 static err_t
initFirst(uint32_t num_pools, uint32_t top_drm);
121 static bool isInitFirstComplete();
125 static err_t isInitComplete(MsgQueId
id,
bool &done);
129 static err_t referMsgQueBlock(MsgQueId
id,
MsgQueBlock **que);
132 static err_t send(MsgQueId dest, MsgPri pri, MsgType type, MsgQueId reply);
145 static err_t
send(MsgQueId dest, MsgPri pri, MsgType type, MsgQueId reply,
const T& param)
148 err_t err_code = ERR_OK;
150 err_code = referMsgQueBlock(dest, &que);
151 if (err_code == ERR_OK)
153 return que->send(pri, type, reply, MsgPacket::MsgFlagWaitParam, param);
160 static err_t send(MsgQueId dest, MsgPri pri, MsgType type, MsgQueId reply,
const void* param,
size_t param_size);
163 static err_t sendIsr(MsgQueId dest, MsgPri pri, MsgType type, MsgQueId reply);
167 static err_t sendIsr(MsgQueId dest, MsgPri pri, MsgType type, MsgQueId reply,
const T& param)
170 err_t err_code = ERR_OK;
172 err_code = referMsgQueBlock(dest, &que);
173 if (err_code == ERR_OK)
175 return que->sendIsr(pri, type, reply, param);
182 static err_t sendIsr(MsgQueId dest, MsgPri pri, MsgType type, MsgQueId reply,
const void* param,
size_t param_size);
185 static err_t notifyRecv(MsgQueId dest);
static err_t send(MsgQueId dest, MsgPri pri, MsgType type, MsgQueId reply, const T ¶m)
Definition Message.h:145