Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
Ocarina
Commits
4b1f06fb
Commit
4b1f06fb
authored
Feb 24, 2020
by
yoogx
Browse files
* Add check on in event ports for sporadic thread
For openaadl/ocarina#249
parent
d0186104
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/backends/po_hi_c/ocarina-backends-po_hi_c-activity.adb
View file @
4b1f06fb
...
...
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2008-2009 Telecom ParisTech, 2010-20
19
ESA & ISAE. --
-- Copyright (C) 2008-2009 Telecom ParisTech, 2010-20
20
ESA & ISAE. --
-- --
-- Ocarina is free software; you can redistribute it and/or modify under --
-- terms of the GNU General Public License as published by the Free Soft- --
...
...
@@ -2128,6 +2128,14 @@ package body Ocarina.Backends.PO_HI_C.Activity is
Nb_Dest
:
Unsigned_Long_Long
:=
0
;
Has_Local_Deliver
:
Boolean
:=
False
;
begin
if
Get_Thread_Dispatch_Protocol
(
E
)
=
Thread_Sporadic
and
then
not
Has_In_Event_Ports
(
E
)
then
Display_Located_Error
(
Loc
(
E
),
"None of the IN ports of this sporadic thread is an event port"
,
Fatal
=>
True
);
end
if
;
if
Has_Ports
(
E
)
then
F
:=
First_Node
(
Features
(
E
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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