NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
Loading...
Searching...
No Matches
neorv32_rte.h
Go to the documentation of this file.
1// ================================================================================ //
2// The NEORV32 RISC-V Processor - https://github.com/stnolting/neorv32 //
3// Copyright (c) NEORV32 contributors. //
4// Copyright (c) 2020 - 2024 Stephan Nolting. All rights reserved. //
5// Licensed under the BSD-3-Clause license, see LICENSE for details. //
6// SPDX-License-Identifier: BSD-3-Clause //
7// ================================================================================ //
8
16#ifndef neorv32_rte_h
17#define neorv32_rte_h
18
19#include <stdint.h>
20
21
22/**********************************************************************/
25#define NEORV32_RTE_NUM_TRAPS 29
26
27
28/**********************************************************************/
62
63
64/**********************************************************************/
68void neorv32_rte_setup(void);
69void neorv32_rte_core(void);
70int neorv32_rte_handler_install(int id, void (*handler)(void));
73uint32_t neorv32_rte_context_get(int x);
74void neorv32_rte_context_put(int x, uint32_t data);
75
79void neorv32_rte_print_logo(void);
84#endif // neorv32_rte_h
void neorv32_rte_print_hw_config(void)
Definition neorv32_rte.c:386
int neorv32_rte_handler_uninstall(int id)
Definition neorv32_rte.c:84
void neorv32_rte_print_logo(void)
Definition neorv32_rte.c:740
int neorv32_rte_handler_install(int id, void(*handler)(void))
Definition neorv32_rte.c:64
void neorv32_rte_setup(void)
Definition neorv32_rte.c:37
void neorv32_rte_debug_handler(void)
Definition neorv32_rte.c:296
uint32_t neorv32_rte_context_get(int x)
Definition neorv32_rte.c:259
void neorv32_rte_print_about(void)
Definition neorv32_rte.c:725
void neorv32_rte_print_hw_version(void)
Definition neorv32_rte.c:692
void neorv32_rte_print_license(void)
Definition neorv32_rte.c:782
NEORV32_RTE_TRAP_enum
Definition neorv32_rte.h:31
@ RTE_TRAP_FIRQ_5
Definition neorv32_rte.h:50
@ RTE_TRAP_UENV_CALL
Definition neorv32_rte.h:40
@ RTE_TRAP_FIRQ_15
Definition neorv32_rte.h:60
@ RTE_TRAP_FIRQ_2
Definition neorv32_rte.h:47
@ RTE_TRAP_FIRQ_9
Definition neorv32_rte.h:54
@ RTE_TRAP_FIRQ_8
Definition neorv32_rte.h:53
@ RTE_TRAP_BREAKPOINT
Definition neorv32_rte.h:35
@ RTE_TRAP_I_ILLEGAL
Definition neorv32_rte.h:33
@ RTE_TRAP_FIRQ_3
Definition neorv32_rte.h:48
@ RTE_TRAP_FIRQ_13
Definition neorv32_rte.h:58
@ RTE_TRAP_FIRQ_7
Definition neorv32_rte.h:52
@ RTE_TRAP_S_MISALIGNED
Definition neorv32_rte.h:38
@ RTE_TRAP_FIRQ_4
Definition neorv32_rte.h:49
@ RTE_TRAP_L_MISALIGNED
Definition neorv32_rte.h:36
@ RTE_TRAP_I_ACCESS
Definition neorv32_rte.h:32
@ RTE_TRAP_L_ACCESS
Definition neorv32_rte.h:37
@ RTE_TRAP_S_ACCESS
Definition neorv32_rte.h:39
@ RTE_TRAP_FIRQ_14
Definition neorv32_rte.h:59
@ RTE_TRAP_FIRQ_1
Definition neorv32_rte.h:46
@ RTE_TRAP_FIRQ_0
Definition neorv32_rte.h:45
@ RTE_TRAP_FIRQ_11
Definition neorv32_rte.h:56
@ RTE_TRAP_FIRQ_6
Definition neorv32_rte.h:51
@ RTE_TRAP_MTI
Definition neorv32_rte.h:43
@ RTE_TRAP_MEI
Definition neorv32_rte.h:44
@ RTE_TRAP_MSI
Definition neorv32_rte.h:42
@ RTE_TRAP_FIRQ_10
Definition neorv32_rte.h:55
@ RTE_TRAP_MENV_CALL
Definition neorv32_rte.h:41
@ RTE_TRAP_FIRQ_12
Definition neorv32_rte.h:57
@ RTE_TRAP_I_MISALIGNED
Definition neorv32_rte.h:34
void neorv32_rte_core(void)
Definition neorv32_rte.c:100
void neorv32_rte_context_put(int x, uint32_t data)
Definition neorv32_rte.c:279