arch/riscv/include/asm/errata_list_vendors.h

Source file repositories/reference/linux-study-clean/arch/riscv/include/asm/errata_list_vendors.h

File Facts

System
Linux kernel
Corpus path
arch/riscv/include/asm/errata_list_vendors.h
Extension
.h
Size
638 bytes
Lines
30
Domain
Architecture Layer
Bucket
arch/riscv
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_ERRATA_LIST_VENDORS_H
#define ASM_ERRATA_LIST_VENDORS_H

#ifdef CONFIG_ERRATA_ANDES
#define	ERRATA_ANDES_NO_IOCP 0
#define	ERRATA_ANDES_NUMBER 1
#endif

#ifdef CONFIG_ERRATA_SIFIVE
#define	ERRATA_SIFIVE_CIP_453 0
#define	ERRATA_SIFIVE_CIP_1200 1
#define	ERRATA_SIFIVE_NUMBER 2
#endif

#ifdef CONFIG_ERRATA_THEAD
#define	ERRATA_THEAD_MAE 0
#define	ERRATA_THEAD_PMU 1
#define	ERRATA_THEAD_GHOSTWRITE 2
#define	ERRATA_THEAD_NUMBER 3
#endif

#ifdef CONFIG_ERRATA_MIPS
#define	ERRATA_MIPS_P8700_PAUSE_OPCODE 0
#define	ERRATA_MIPS_NUMBER 1
#endif

#endif /* ASM_ERRATA_LIST_VENDORS_H */

Annotation

Implementation Notes