Commit fe395b5a authored by Federico Vaga's avatar Federico Vaga

wrtd:rt: set SMEM loopqueue variables to volatile

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 1dd16a60
......@@ -22,7 +22,7 @@
#define SMEM_RANGE_CLEAR 0x40000
#define SMEM_RANGE_FLIP 0x50000
#define SMEM __attribute__((section(".smem")))
#define SMEM volatile __attribute__((section(".smem")))
/**
* Perform an operation on a given pointer. Operation can be performed only
......
......@@ -19,7 +19,7 @@
#define LOOP_QUEUE_SIZE 16
static SMEM int head, tail, count;
static SMEM unsigned int head, tail, count;
static SMEM struct wrtd_trigger_entry buf[16];
void loop_queue_init()
......
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