mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
Corrected interrupt stack allocation.
This commit is contained in:
1 parent
6bb69304d2
commit
71d07b9ddf
3 files changed
+21
-9
No files matched your search
@@ -64,10 +64,14 @@ unsigned32 rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
|
||||
* Interrupt Stack Space
|
||||
*/
|
||||
|
||||
#if (CPU_ALLOCATE_INTERRUPT_STACK)
|
||||
#define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE
|
||||
#else
|
||||
#if (CPU_ALLOCATE_INTERRUPT_STACK == 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
|
||||
|
||||
/*
|
||||
|
||||
@@ -64,10 +64,14 @@ unsigned32 rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
|
||||
* Interrupt Stack Space
|
||||
*/
|
||||
|
||||
#if (CPU_ALLOCATE_INTERRUPT_STACK)
|
||||
#define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE
|
||||
#else
|
||||
#if (CPU_ALLOCATE_INTERRUPT_STACK == 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
|
||||
|
||||
/*
|
||||
|
||||
@@ -64,10 +64,14 @@ unsigned32 rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
|
||||
* Interrupt Stack Space
|
||||
*/
|
||||
|
||||
#if (CPU_ALLOCATE_INTERRUPT_STACK)
|
||||
#define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE
|
||||
#else
|
||||
#if (CPU_ALLOCATE_INTERRUPT_STACK == 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
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user