Commit 2596658f authored by Dimitris Lampridis's avatar Dimitris Lampridis

sw: extra debug messages and typo fixes

parent f71de082
......@@ -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);
}
......
......@@ -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 triggerrs 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 measyurement */
/* 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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment