coreboot-kgpe-d16/payloads/libpayload/include/mock/arch/barrier.h

14 lines
299 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __ARCH_BARRIER_H__
#define __ARCH_BARRIER_H__
/* No memory barrier on mock build */
#define mb()
/* No read memory barrier on mock build */
#define rmb()
/* No write memory barrier on mock build */
#define wmb()
#endif /* __ARCH_BARRIER_H__ */