arch/sparc/include/asm/cachetype.h

Source file repositories/reference/linux-study-clean/arch/sparc/include/asm/cachetype.h

File Facts

System
Linux kernel
Corpus path
arch/sparc/include/asm/cachetype.h
Extension
.h
Size
320 bytes
Lines
15
Domain
Architecture Layer
Bucket
arch/sparc
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_SPARC_CACHETYPE_H
#define __ASM_SPARC_CACHETYPE_H

#include <asm/page.h>

#ifdef CONFIG_SPARC32
extern int vac_cache_size;
#define cpu_dcache_is_aliasing()	(vac_cache_size > PAGE_SIZE)
#else
#define cpu_dcache_is_aliasing()	(L1DCACHE_SIZE > PAGE_SIZE)
#endif

#endif

Annotation

Implementation Notes