arch/x86/include/asm/cacheflush.h

Source file repositories/reference/linux-study-clean/arch/x86/include/asm/cacheflush.h

File Facts

System
Linux kernel
Corpus path
arch/x86/include/asm/cacheflush.h
Extension
.h
Size
329 bytes
Lines
14
Domain
Architecture Layer
Bucket
arch/x86
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_X86_CACHEFLUSH_H
#define _ASM_X86_CACHEFLUSH_H

#include <linux/mm.h>

/* Caches aren't brain-dead on the intel. */
#include <asm-generic/cacheflush.h>
#include <asm/special_insns.h>

void clflush_cache_range(void *addr, unsigned int size);

#endif /* _ASM_X86_CACHEFLUSH_H */

Annotation

Implementation Notes