commit | 7abdb51f8fa1d43372bfc9ec00bf1ea485f8aaf7 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Thu Mar 03 17:48:32 2016 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Wed Mar 16 22:22:54 2016 +0100 |
tree | d6afe4496df1b76bae47cc7035a77ad0caa14114 | |
parent | 7dd3dfd992e385da8be1bbaaeeb1a88ef18cea6d [diff] [blame] |
ringbuffer: Make ring buffer access irq-save We have to temporarily disable nterrupts when performing rinbuffer operations, as the ring buffer is used both from IRQ as well as process context.
diff --git a/firmware/src_simtrace/card_emu.c b/firmware/src_simtrace/card_emu.c index dd0899f..8376943 100644 --- a/firmware/src_simtrace/card_emu.c +++ b/firmware/src_simtrace/card_emu.c
@@ -17,6 +17,8 @@ * */ +#define TRACE_LEVEL 6 + #include <assert.h> #include <errno.h> #include <string.h>