Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
e9f4a1f5
Commit
e9f4a1f5
authored
Feb 11, 2015
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arch-wrs: check if following hal_ports in shmem was successfull
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
f0e32add
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
wrs-startup.c
arch-wrs/wrs-startup.c
+6
-0
No files found.
arch-wrs/wrs-startup.c
View file @
e9f4a1f5
...
...
@@ -125,6 +125,12 @@ int main(int argc, char **argv)
hal_ports
=
wrs_shm_follow
(
hal_head
,
h
->
ports
);
if
(
!
hal_ports
)
{
pp_printf
(
"ppsi: unable to follow hal_ports pointer "
"in HAL's shmem
\n
"
);
exit
(
1
);
}
/* And create your own channel, until we move to shmem too */
ppsi_ch
=
minipc_server_create
(
"ptpd"
,
0
);
if
(
!
ppsi_ch
)
{
/* FIXME should we retry ? */
...
...
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