From 03b7789ec7d0ffd3621ea4c20d564d2a93e182a5 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sat, 26 Apr 2014 15:09:10 +0200 Subject: score: Statically initialize _ISR_Vector_table --- cpukit/sapi/include/confdefs.h | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'cpukit/sapi/include/confdefs.h') diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index c58915c4a6..ad432ed82c 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -2283,31 +2283,6 @@ const rtems_libio_helper rtems_fs_init_helper = #define CONFIGURE_MEMORY_OVERHEAD 0 #endif -/** - * On architectures that use Simple Vectored Interrupts, it is RTEMS - * responsibility to allocate the vector table. This avoids reserving - * the memory on architectures that use the Programmable Interrupt - * Controller Vectored Interrupts. - */ -#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE) - /* - * This is a (hopefully) temporary hack. On the mips, the number of - * vectors is NOT statically defined. But it has to be statically - * defined for this to work. This is an issue looking for a nice - * solution. - */ - #if defined(__mips__) - #define CONFIGURE_INTERRUPT_VECTOR_TABLE \ - _Configure_From_workspace( (sizeof(ISR_Handler_entry) * 256)) - #else - #define CONFIGURE_INTERRUPT_VECTOR_TABLE \ - _Configure_From_workspace( \ - (sizeof(ISR_Handler_entry) * ISR_NUMBER_OF_VECTORS)) - #endif -#else - #define CONFIGURE_INTERRUPT_VECTOR_TABLE 0 -#endif - /** * RTEMS uses two instance of an internal mutex class. This accounts * for these mutexes. @@ -2337,7 +2312,6 @@ const rtems_libio_helper rtems_fs_init_helper = */ #define CONFIGURE_MEMORY_FOR_SYSTEM_OVERHEAD \ ( CONFIGURE_MEMORY_FOR_IDLE_TASK + /* IDLE and stack */ \ - CONFIGURE_INTERRUPT_VECTOR_TABLE + /* interrupt vectors */ \ CONFIGURE_INTERRUPT_STACK_MEMORY + /* interrupt stack */ \ CONFIGURE_API_MUTEX_MEMORY /* allocation mutex */ \ ) @@ -2755,7 +2729,6 @@ const rtems_libio_helper rtems_fs_init_helper = uint32_t POSIX; /* System overhead pieces */ - uint32_t INTERRUPT_VECTOR_TABLE; uint32_t INTERRUPT_STACK_MEMORY; uint32_t MEMORY_FOR_IDLE_TASK; @@ -2810,7 +2783,6 @@ const rtems_libio_helper rtems_fs_init_helper = CONFIGURE_MEMORY_FOR_POSIX, /* System overhead pieces */ - CONFIGURE_INTERRUPT_VECTOR_TABLE, CONFIGURE_INTERRUPT_STACK_MEMORY, CONFIGURE_MEMORY_FOR_IDLE_TASK, -- cgit v1.2.3