Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
5171e8a4
Commit
5171e8a4
authored
Jun 03, 2020
by
Claes
Committed by
Esteban Blanc
Dec 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcom, qcom_StealQ() added, bugfix for DeleteQ and doc changes
parent
88e1a83e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
195 additions
and
26 deletions
+195
-26
src/lib/rt/src/rt_qcom.c
src/lib/rt/src/rt_qcom.c
+187
-23
src/lib/rt/src/rt_qcom.h
src/lib/rt/src/rt_qcom.h
+5
-2
src/lib/rt/src/rt_qdb.c
src/lib/rt/src/rt_qdb.c
+3
-1
No files found.
src/lib/rt/src/rt_qcom.c
View file @
5171e8a4
This diff is collapsed.
Click to expand it.
src/lib/rt/src/rt_qcom.h
View file @
5171e8a4
...
...
@@ -113,9 +113,10 @@ typedef enum {
}
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
{
qcom_tQix
qix
;
/**< Queue index */
...
...
@@ -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_StealQ
(
pwr_tStatus
*
status
,
const
qcom_sQid
*
qid
);
pwr_tBoolean
qcom_Bind
(
pwr_tStatus
*
sts
,
const
qcom_sQid
*
myQ
,
const
qcom_sQid
*
toQ
);
...
...
src/lib/rt/src/rt_qdb.c
View file @
5171e8a4
...
...
@@ -1247,7 +1247,9 @@ pwr_tBoolean qdb_RemoveQue(pwr_tStatus* status, qdb_sQue* qp)
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 */
pool_Qremove
(
sts
,
&
qdb
->
pool
,
&
qp
->
que_ll
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment