arch/loongarch/include/asm/cache.h

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

File Facts

System
Linux kernel
Corpus path
arch/loongarch/include/asm/cache.h
Extension
.h
Size
362 bytes
Lines
16
Domain
Architecture Layer
Bucket
arch/loongarch
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_CACHE_H
#define _ASM_CACHE_H

#define L1_CACHE_SHIFT		CONFIG_L1_CACHE_SHIFT
#define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)

#define ARCH_DMA_MINALIGN	(16)

#define __read_mostly __section(".data..read_mostly")

#endif /* _ASM_CACHE_H */

Annotation

Implementation Notes