arch/openrisc/include/asm/cache.h

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

File Facts

System
Linux kernel
Corpus path
arch/openrisc/include/asm/cache.h
Extension
.h
Size
681 bytes
Lines
28
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_OPENRISC_CACHE_H
#define __ASM_OPENRISC_CACHE_H

/* FIXME: How can we replace these with values from the CPU...
 * they shouldn't be hard-coded!
 */

#define __ro_after_init __read_mostly

#define L1_CACHE_BYTES 16
#define L1_CACHE_SHIFT 4

#endif /* __ASM_OPENRISC_CACHE_H */

Annotation

Implementation Notes