forked from Imagelibrary/rtems
Corrected interrupt stack allocation.
This commit is contained in:
@@ -64,10 +64,14 @@ unsigned32 rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
|
|||||||
* Interrupt Stack Space
|
* Interrupt Stack Space
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if (CPU_ALLOCATE_INTERRUPT_STACK)
|
#if (CPU_ALLOCATE_INTERRUPT_STACK == 0)
|
||||||
#define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE
|
|
||||||
#else
|
|
||||||
#define CONFIGURE_INTERRUPT_STACK_MEMORY 0
|
#define CONFIGURE_INTERRUPT_STACK_MEMORY 0
|
||||||
|
#else
|
||||||
|
#ifndef CONFIGURE_INTERRUPT_STACK_MEMORY
|
||||||
|
#define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE
|
||||||
|
#else
|
||||||
|
#define CONFIGURE_INTERRUPT_STACK_MEMORY 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -64,10 +64,14 @@ unsigned32 rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
|
|||||||
* Interrupt Stack Space
|
* Interrupt Stack Space
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if (CPU_ALLOCATE_INTERRUPT_STACK)
|
#if (CPU_ALLOCATE_INTERRUPT_STACK == 0)
|
||||||
#define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE
|
|
||||||
#else
|
|
||||||
#define CONFIGURE_INTERRUPT_STACK_MEMORY 0
|
#define CONFIGURE_INTERRUPT_STACK_MEMORY 0
|
||||||
|
#else
|
||||||
|
#ifndef CONFIGURE_INTERRUPT_STACK_MEMORY
|
||||||
|
#define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE
|
||||||
|
#else
|
||||||
|
#define CONFIGURE_INTERRUPT_STACK_MEMORY 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -64,10 +64,14 @@ unsigned32 rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
|
|||||||
* Interrupt Stack Space
|
* Interrupt Stack Space
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if (CPU_ALLOCATE_INTERRUPT_STACK)
|
#if (CPU_ALLOCATE_INTERRUPT_STACK == 0)
|
||||||
#define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE
|
|
||||||
#else
|
|
||||||
#define CONFIGURE_INTERRUPT_STACK_MEMORY 0
|
#define CONFIGURE_INTERRUPT_STACK_MEMORY 0
|
||||||
|
#else
|
||||||
|
#ifndef CONFIGURE_INTERRUPT_STACK_MEMORY
|
||||||
|
#define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE
|
||||||
|
#else
|
||||||
|
#define CONFIGURE_INTERRUPT_STACK_MEMORY 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user