tools/arch/xtensa/include/asm/barrier.h

Source file repositories/reference/linux-study-clean/tools/arch/xtensa/include/asm/barrier.h

File Facts

System
Linux kernel
Corpus path
tools/arch/xtensa/include/asm/barrier.h
Extension
.h
Size
502 bytes
Lines
19
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _TOOLS_LINUX_XTENSA_SYSTEM_H
#define _TOOLS_LINUX_XTENSA_SYSTEM_H

#define mb()  ({ __asm__ __volatile__("memw" : : : "memory"); })
#define rmb() barrier()
#define wmb() mb()

#endif /* _TOOLS_LINUX_XTENSA_SYSTEM_H */

Annotation

Implementation Notes