forked from Mirrors/opensbi

We will add new functions to sbi_double_trap.c in order to register an SSE event, split this to a header as part of preparation work. Signed-off-by: Clément Léger <cleger@rivosinc.com> Reviewed-by: Anup Patel <anup@brainfault.org>
21 lines
384 B
C
21 lines
384 B
C
/*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*
|
|
* Copyright (c) 2025 Rivos Inc.
|
|
*
|
|
* Authors:
|
|
* Clément Léger <cleger@rivosinc.com>
|
|
*/
|
|
|
|
#ifndef __SBI_DOUBLE_TRAP_H__
|
|
#define __SBI_DOUBLE_TRAP_H__
|
|
|
|
#include <sbi/sbi_types.h>
|
|
#include <sbi/sbi_trap.h>
|
|
|
|
int sbi_double_trap_handler(struct sbi_trap_context *tcntx);
|
|
|
|
void sbi_double_trap_init(struct sbi_scratch *scratch);
|
|
|
|
#endif
|