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