Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Trigger Distribution
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
White Rabbit Trigger Distribution
Commits
2596658f
Commit
2596658f
authored
Aug 08, 2018
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw: extra debug messages and typo fixes
parent
f71de082
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
wrtd-rt-fd.c
software/firmware/fd/wrtd-rt-fd.c
+2
-0
wrtd-rt-tdc.c
software/firmware/tdc/wrtd-rt-tdc.c
+4
-2
No files found.
software/firmware/fd/wrtd-rt-fd.c
View file @
2596658f
...
...
@@ -238,6 +238,8 @@ static void log_trigger(int type, int miss_reason,
log
->
id
=
ent
->
id
;
log
->
ts
=
ent
->
ts
;
pr_debug
(
"%s: %d %d
\n\r
"
,
__func__
,
type
,
miss_reason
);
mq_send
(
TRTL_HMQ
,
WRTD_OUT_HMQ
);
}
...
...
software/firmware/tdc/wrtd-rt-tdc.c
View file @
2596658f
...
...
@@ -99,6 +99,8 @@ static int wrtd_in_trigger_log(int type, int miss_reason,
log
->
id
=
ent
->
id
;
log
->
ts
=
ent
->
ts
;
pr_debug
(
"%s: %d %d
\n\r
"
,
__func__
,
type
,
miss_reason
);
mq_send
(
TRTL_HMQ
,
WRTD_IN_HMQ
);
return
0
;
...
...
@@ -135,14 +137,14 @@ static inline void send_trigger (struct wrtd_trigger_entry *ent)
/**
* Flushes the trigger
r
s in the RMQ output buffer to the WR Network
* Flushes the triggers in the RMQ output buffer to the WR Network
*/
static
inline
void
flush_tx
()
{
volatile
struct
wrtd_trigger_message
*
msg
=
mq_map_out_buffer
(
TRTL_RMQ
,
WRTD_IN_RMQ
);
/* Embed transmission time for latency meas
y
urement */
/* Embed transmission time for latency measurement */
msg
->
transmit_seconds
=
lr_readl
(
MT_CPU_LR_REG_TAI_SEC
);
msg
->
transmit_cycles
=
lr_readl
(
MT_CPU_LR_REG_TAI_CYCLES
);
msg
->
count
=
coalesce_count
;
...
...
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