Changeset 956c2e4 in examples-v2


Ignore:
Timestamp:
Oct 6, 2009, 9:46:29 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, examples-v2-4-10-branch, 286403d7a3d0e521179e677c0d2fd7549c9ceab4
Children:
778e80d
Parents:
8dfd843
Message:

2009-10-06 Joel Sherrill <joel.sherrill@…>

  • low_ticker1/init.c: Change minimum stack space on SPARC to 1024.
  • ticker/init.c: Why was clock tick 1 microsecond?
Location:
ticker
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ticker/ChangeLog

    r8dfd843 r956c2e4  
     12009-10-06      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * low_ticker1/init.c: Change minimum stack space on SPARC to 1024.
     4        * ticker/init.c: Why was clock tick 1 microsecond?
     5
    162009-08-06      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • ticker/low_ticker1/init.c

    r8dfd843 r956c2e4  
    7474#define CONFIGURE_TERMIOS_DISABLED
    7575#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 0
    76 #define CONFIGURE_MINIMUM_TASK_STACK_SIZE 512
     76
     77/*
     78 *  Reduce the stack as far as we think is safe on this architecture.
     79 *  On small CPUs, the recommended minimum may already be less than
     80 *  512 bytes so do not increase it.  But on at least the SPARC, we
     81 *  need more than 512 bytes of stack space.
     82 */
     83#if defined(__sparc__)
     84  #define CONFIGURE_MINIMUM_TASK_STACK_SIZE 1024
     85#elif (CPU_STACK_MINIMUM_SIZE > 512)
     86  #define CONFIGURE_MINIMUM_TASK_STACK_SIZE 512
     87#endif
     88
    7789#define CONFIGURE_MAXIMUM_PRIORITY 15
    7890#define CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS
  • ticker/ticker/init.c

    r8dfd843 r956c2e4  
    100100#define CONFIGURE_EXTRA_TASK_STACKS       (4 * RTEMS_MINIMUM_STACK_SIZE)
    101101
    102 #define CONFIGURE_MICROSECONDS_PER_TICK 1
    103 
    104102#include <rtems/confdefs.h>
    105103
Note: See TracChangeset for help on using the changeset viewer.