source: rtems/cpukit/score/cpu/riscv/ @ 8db3f0e

Last change on this file since 8db3f0e was 8db3f0e, checked in by Sebastian Huber <sebastian.huber@…>, on Jul 19, 2018 at 10:11:19 AM

riscv: Rework exception handling

Remove _CPU_ISR_install_raw_handler() and _CPU_ISR_install_vector()
functions. Applications can install an exception handler via the fatal
error handler to handle synchronous exceptions.

Handle interrupt exceptions via _RISCV_Interrupt_dispatch() which must
be provided by the BSP.

Update #3433.

  • Property mode set to 100644
File size: 530 bytes
1include $(top_srcdir)/automake/
2noinst_LIBRARIES = libscorecpu.a
3libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS)
4libscorecpu_a_SOURCES  = cpu.c
5libscorecpu_a_SOURCES += riscv-exception-handler.S
6libscorecpu_a_SOURCES += riscv-exception-frame-print.c
7libscorecpu_a_SOURCES += riscv-context-switch.S
8libscorecpu_a_SOURCES += riscv-context-initialize.c
9libscorecpu_a_SOURCES += riscv-context-validate.S
10libscorecpu_a_SOURCES += riscv-context-volatile-clobber.S
12include $(top_srcdir)/automake/
13include $(srcdir)/
Note: See TracBrowser for help on using the repository browser.