mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-25 07:41:42 +01:00

Some of the upcoming SBI extensions (such as SSE) will directly update register state so improve the prototype of ecall handler to accommodate this. Further, this flexibility allows us to push the trap redirection from sbi_ecall_handler() to the sbi_ecall_legacy_handler(). Signed-off-by: Anup Patel <apatel@ventanamicro.com>
16 lines
377 B
C
16 lines
377 B
C
// 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 */
|