arch/openrisc/include/asm/barrier.h

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

File Facts

System
Linux kernel
Corpus path
arch/openrisc/include/asm/barrier.h
Extension
.h
Size
241 bytes
Lines
12
Domain
Architecture Layer
Bucket
arch/openrisc
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __ASM_BARRIER_H
#define __ASM_BARRIER_H

#define mb() asm volatile ("l.msync" ::: "memory")

#define nop() asm volatile ("l.nop")

#include <asm-generic/barrier.h>

#endif /* __ASM_BARRIER_H */

Annotation

Implementation Notes