6#ifndef ZEPHYR_INCLUDE_ARCH_ARC_BARRIER_H_
7#define ZEPHYR_INCLUDE_ARCH_ARC_BARRIER_H_
9#ifndef ZEPHYR_INCLUDE_SYS_BARRIER_H_
10#error Please include <zephyr/sys/barrier.h>
17#error "The ARC barrier backend is a MWDT-only workaround"
44 __asm__
volatile(
"dsync" :::
"memory");
50 __asm__
volatile(
"sync" :::
"memory");
Copyright (c) 2026 GlobalFoundries Inc.
#define ARC_DMB_LOAD_STORE
Order prior loads and stores before subsequent loads and stores.
Definition dmb.h:24