1*23c996fcSCharlie Jenkins /* SPDX-License-Identifier: GPL-2.0 */ 2*23c996fcSCharlie Jenkins #ifndef _ASM_RISCV_VENDOR_EXTENSIONS_ANDES_H 3*23c996fcSCharlie Jenkins #define _ASM_RISCV_VENDOR_EXTENSIONS_ANDES_H 4*23c996fcSCharlie Jenkins 5*23c996fcSCharlie Jenkins #include <asm/vendor_extensions.h> 6*23c996fcSCharlie Jenkins 7*23c996fcSCharlie Jenkins #include <linux/types.h> 8*23c996fcSCharlie Jenkins 9*23c996fcSCharlie Jenkins #define RISCV_ISA_VENDOR_EXT_XANDESPMU 0 10*23c996fcSCharlie Jenkins 11*23c996fcSCharlie Jenkins /* 12*23c996fcSCharlie Jenkins * Extension keys should be strictly less than max. 13*23c996fcSCharlie Jenkins * It is safe to increment this when necessary. 14*23c996fcSCharlie Jenkins */ 15*23c996fcSCharlie Jenkins #define RISCV_ISA_VENDOR_EXT_MAX_ANDES 32 16*23c996fcSCharlie Jenkins 17*23c996fcSCharlie Jenkins extern struct riscv_isa_vendor_ext_data_list riscv_isa_vendor_ext_list_andes; 18*23c996fcSCharlie Jenkins 19*23c996fcSCharlie Jenkins #endif 20