summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Dooley <dooleyc@google.com>2020-03-04 13:26:47 -0800
committerCraig Dooley <dooleyc@google.com>2020-03-04 13:27:57 -0800
commitb322f6dc0da3a4cb88a570989ff5915e70200880 (patch)
tree4b99eae9eac562be7aefe8c6671b41a75d67bf9f
parentf5818c0c6d996fb5b960657a753e18f60a43b676 (diff)
downloadaoc-ipc-b322f6dc0da3a4cb88a570989ff5915e70200880.tar.gz
Hook up memory barriers for EFW
Change-Id: Ic896d486c85da76ddfea108020f70e27a9380dc7
-rw-r--r--aoc_ipc_core_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/aoc_ipc_core_internal.h b/aoc_ipc_core_internal.h
index f2cff3a..6aae4c6 100644
--- a/aoc_ipc_core_internal.h
+++ b/aoc_ipc_core_internal.h
@@ -23,7 +23,9 @@
#define WRITE_BARRIER() wmb()
#elif defined(EFW)
+#include "memory_barrier.h"
+#define WRITE_BARRIER() MB()
#else
#include <stdint.h>