tools/arch/riscv/include/asm/fence.h

Source file repositories/reference/linux-study-clean/tools/arch/riscv/include/asm/fence.h

File Facts

System
Linux kernel
Corpus path
tools/arch/riscv/include/asm/fence.h
Extension
.h
Size
348 bytes
Lines
14
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 _ASM_RISCV_FENCE_H
#define _ASM_RISCV_FENCE_H

#define RISCV_FENCE_ASM(p, s)		"\tfence " #p "," #s "\n"
#define RISCV_FENCE(p, s) \
	({ __asm__ __volatile__ (RISCV_FENCE_ASM(p, s) : : : "memory"); })

#endif	/* _ASM_RISCV_FENCE_H */

Annotation

Implementation Notes