Commit 5171e8a4 authored by Claes's avatar Claes Committed by Esteban Blanc

qcom, qcom_StealQ() added, bugfix for DeleteQ and doc changes

parent 88e1a83e
This diff is collapsed.
...@@ -113,9 +113,10 @@ typedef enum { ...@@ -113,9 +113,10 @@ typedef enum {
} qcom_eNodeConnection; } qcom_eNodeConnection;
/** /**
* @brief ZZZ Text that appers when the Data structure is listed. * @brief Queue identity
* *
* More detailed text * Every queue within a Qcom bus is uniquely identified by a queue
* identity, used for identifying the target for sending a message.
*/ */
typedef struct { typedef struct {
qcom_tQix qix; /**< Queue index */ qcom_tQix qix; /**< Queue index */
...@@ -244,6 +245,8 @@ void* qcom_Alloc(pwr_tStatus* sts, unsigned int size); ...@@ -244,6 +245,8 @@ void* qcom_Alloc(pwr_tStatus* sts, unsigned int size);
pwr_tBoolean qcom_AttachQ(pwr_tStatus* sts, const qcom_sQid* qid); pwr_tBoolean qcom_AttachQ(pwr_tStatus* sts, const qcom_sQid* qid);
pwr_tBoolean qcom_StealQ(pwr_tStatus *status, const qcom_sQid *qid);
pwr_tBoolean qcom_Bind( pwr_tBoolean qcom_Bind(
pwr_tStatus* sts, const qcom_sQid* myQ, const qcom_sQid* toQ); pwr_tStatus* sts, const qcom_sQid* myQ, const qcom_sQid* toQ);
......
...@@ -1247,7 +1247,9 @@ pwr_tBoolean qdb_RemoveQue(pwr_tStatus* status, qdb_sQue* qp) ...@@ -1247,7 +1247,9 @@ pwr_tBoolean qdb_RemoveQue(pwr_tStatus* status, qdb_sQue* qp)
pool_Free(sts, &qdb->pool, qbp); pool_Free(sts, &qdb->pool, qbp);
} }
/* Left to do !!! Unlink all queues linked eve_lh. */ for (/* unlink all event queues linked eve_lh */
qbl = pool_Qsucc(NULL, &qdb->pool, &qp->eve_lh); qbl->self != qbl->flink;)
pool_Qremove(sts, &qdb->pool, qbl);
/* unlink que from own_ll */ /* unlink que from own_ll */
pool_Qremove(sts, &qdb->pool, &qp->que_ll); pool_Qremove(sts, &qdb->pool, &qp->que_ll);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment