bsps/nios2/nios2_iss: removed implementation of set_vector()

Deleted start/setvec.c and updated .yml file accordingly.
This commit is contained in:
Sunil-Hegde
2025-07-06 01:00:56 +05:30
committed by Kinsey Moore
parent 005d8fee6f
commit a8869154b4
5 changed files with 0 additions and 54 deletions

View File

@@ -57,7 +57,6 @@ void benchmark_timer_initialize( void )
RTEMS_INTERRUPT_UNIQUE, RTEMS_INTERRUPT_UNIQUE,
&timer_interrupt &timer_interrupt
); );
// set_vector(timerisr, TIMER_VECTOR, 1);
/* Enable interrupt processing */ /* Enable interrupt processing */

View File

@@ -26,8 +26,6 @@
(void *)(_new), \ (void *)(_new), \
NULL \ NULL \
); );
// set_vector(_new, CLOCK_VECTOR, 1)
/* /*
* Set up the clock hardware * Set up the clock hardware

View File

@@ -151,14 +151,6 @@ altera_avalon_jtag_uart_regs;
/* ============================================ */ /* ============================================ */
/* functions */
rtems_isr_entry set_vector( /* returns old vector */
rtems_isr_entry handler, /* isr routine */
rtems_vector_number vector, /* vector number */
int type /* RTEMS or RAW intr */
);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

View File

@@ -1,42 +0,0 @@
/* set_vector
*
* This routine installs an interrupt vector on the target Board/CPU.
* This routine is allowed to be as board dependent as necessary.
*
* INPUT:
* handler - interrupt handler entry point
* vector - vector number
* type - 0 indicates raw hardware connect
* 1 indicates RTEMS interrupt connect
*
* RETURNS:
* address of previous interrupt handler
*
* COPYRIGHT (c) 2005-2006 Kolja Waschk rtemsdev/ixo.de
* Derived from no_cpu/no_bsp/startup/setvec.c 1.8,
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
*/
#include <rtems.h>
#include <bsp.h>
rtems_isr_entry set_vector( /* returns old vector */
rtems_isr_entry handler, /* isr routine */
rtems_vector_number vector, /* vector number */
int type /* RTEMS or RAW intr */
)
{
rtems_isr_entry previous_isr;
if ( type )
rtems_interrupt_catch( handler, vector, (rtems_isr_entry *) &previous_isr );
else {
/* XXX: install non-RTEMS ISR as "raw" interupt */
}
return previous_isr;
}

View File

@@ -39,7 +39,6 @@ source:
- bsps/nios2/nios2_iss/clock/clock.c - bsps/nios2/nios2_iss/clock/clock.c
- bsps/nios2/nios2_iss/console/console.c - bsps/nios2/nios2_iss/console/console.c
- bsps/nios2/nios2_iss/start/bspstart.c - bsps/nios2/nios2_iss/start/bspstart.c
- bsps/nios2/nios2_iss/start/setvec.c
- bsps/shared/cache/nocache.c - bsps/shared/cache/nocache.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c - bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/dev/serial/console-polled.c - bsps/shared/dev/serial/console-polled.c