Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Beam Positoning Monitor - Software
Commits
0eacd2ae
Commit
0eacd2ae
authored
May 17, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apps/ebpm/*: add trigger iface/mux modules to BPM application
parent
b34cfac0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
ebpm.c
src/apps/ebpm/ebpm.c
+17
-0
No files found.
src/apps/ebpm/ebpm.c
View file @
0eacd2ae
...
...
@@ -837,6 +837,8 @@ static devio_err_e _spawn_be_platform_smios (void *pipe, zhashx_t *hints, uint32
uint32_t
acq_id
=
0x4519a0ad
;
uint32_t
dsp_id
=
0x1bafbf1e
;
uint32_t
swap_id
=
0x12897592
;
uint32_t
trigger_iface_id
=
0xbcbb78d2
;
uint32_t
trigger_mux_id
=
0x84b6a5ac
;
devio_err_e
err
=
DEVIO_SUCCESS
;
/* ML605 or AFCv3 */
...
...
@@ -928,6 +930,21 @@ static devio_err_e _spawn_be_platform_smios (void *pipe, zhashx_t *hints, uint32
if
(
err
!=
DEVIO_SUCCESS
)
{
DBE_DEBUG
(
DBG_DEV_IO
|
DBG_LVL_FATAL
,
"[ebpm] devio_register_sm error!
\n
"
);
}
err
=
devio_register_sm
(
pipe
,
trigger_iface_id
,
WB_TRIGGER_IFACE_BASE_ADDR
,
0
);
if
(
err
!=
DEVIO_SUCCESS
)
{
DBE_DEBUG
(
DBG_DEV_IO
|
DBG_LVL_FATAL
,
"[ebpm] devio_register_sm error!
\n
"
);
}
err
=
devio_register_sm
(
pipe
,
trigger_mux_id
,
WB_TRIGGER_MUX1_BASE_ADDR
,
0
);
if
(
err
!=
DEVIO_SUCCESS
)
{
DBE_DEBUG
(
DBG_DEV_IO
|
DBG_LVL_FATAL
,
"[ebpm] devio_register_sm error!
\n
"
);
}
err
=
devio_register_sm
(
pipe
,
trigger_mux_id
,
WB_TRIGGER_MUX2_BASE_ADDR
,
1
);
if
(
err
!=
DEVIO_SUCCESS
)
{
DBE_DEBUG
(
DBG_DEV_IO
|
DBG_LVL_FATAL
,
"[ebpm] devio_register_sm error!
\n
"
);
}
#endif
#else
#error "BE FPGA Board not supported!"
...
...
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