Ignore:
Timestamp:
Jul 19, 2018, 10:11:19 AM (15 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
7fe4855
Parents:
5694b0c
git-author:
Sebastian Huber <sebastian.huber@…> (07/19/18 10:11:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/25/18 08:07:43)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/riscv/include/rtems/score/cpu.h

    r5694b0c r8db3f0e  
    362362
    363363/*
    364  *  _CPU_ISR_install_raw_handler
    365  *
    366  *  This routine installs a "raw" interrupt handler directly into the
    367  *  processor's vector table.
    368  *
    369  */
    370 
    371 void _CPU_ISR_install_raw_handler(
    372   uint32_t    vector,
    373   proc_ptr    new_handler,
    374   proc_ptr   *old_handler
    375 );
    376 
    377 /*
    378  *  _CPU_ISR_install_vector
    379  *
    380  *  This routine installs an interrupt vector.
    381  *
    382  *  NO_CPU Specific Information:
    383  *
    384  *  XXX document implementation including references if appropriate
    385  */
    386 
    387 void _CPU_ISR_install_vector(
    388   unsigned long    vector,
    389   proc_ptr   new_handler,
    390   proc_ptr   *old_handler
    391 );
    392 
    393 /*
    394364 *  _CPU_Thread_Idle_body
    395365 *
Note: See TracChangeset for help on using the changeset viewer.