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

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

File Facts

System
Linux kernel
Corpus path
arch/riscv/include/asm/vendor_extensions/sifive.h
Extension
.h
Size
466 bytes
Lines
17
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_SIFIVE_H
#define _ASM_RISCV_VENDOR_EXTENSIONS_SIFIVE_H

#include <asm/vendor_extensions.h>

#include <linux/types.h>

#define RISCV_ISA_VENDOR_EXT_XSFVQMACCDOD		0
#define RISCV_ISA_VENDOR_EXT_XSFVQMACCQOQ		1
#define RISCV_ISA_VENDOR_EXT_XSFVFNRCLIPXFQF		2
#define RISCV_ISA_VENDOR_EXT_XSFVFWMACCQQQ		3

extern struct riscv_isa_vendor_ext_data_list riscv_isa_vendor_ext_list_sifive;

#endif

Annotation

Implementation Notes