arch/riscv/include/asm/vendor_extensions/andes.h

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

File Facts

System
Linux kernel
Corpus path
arch/riscv/include/asm/vendor_extensions/andes.h
Extension
.h
Size
473 bytes
Lines
20
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_RISCV_VENDOR_EXTENSIONS_ANDES_H
#define _ASM_RISCV_VENDOR_EXTENSIONS_ANDES_H

#include <asm/vendor_extensions.h>

#include <linux/types.h>

#define RISCV_ISA_VENDOR_EXT_XANDESPMU		0

/*
 * Extension keys should be strictly less than max.
 * It is safe to increment this when necessary.
 */
#define RISCV_ISA_VENDOR_EXT_MAX_ANDES			32

extern struct riscv_isa_vendor_ext_data_list riscv_isa_vendor_ext_list_andes;

#endif

Annotation

Implementation Notes