summaryrefslogtreecommitdiff
path: root/platform/generic/include/andes/andes_sbi.h
blob: 1288af81dd662c97a7cf3daebf5c0e521bc4d25f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-License-Identifier: BSD-2-Clause

#ifndef _RISCV_ANDES_SBI_H
#define _RISCV_ANDES_SBI_H

#include <sbi/sbi_ecall.h>
#include <sbi/sbi_trap.h>
#include <sbi_utils/fdt/fdt_helper.h>

int andes_sbi_vendor_ext_provider(long funcid,
				  struct sbi_trap_regs *regs,
				  struct sbi_ecall_return *out,
				  const struct fdt_match *match);

#endif /* _RISCV_ANDES_SBI_H */