Changeset c9b005a9 in rtems for cpukit/libblock


Ignore:
Timestamp:
Jul 9, 2006, 10:05:27 AM (14 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
9807f04
Parents:
a650ebb1
Message:

applied patches for PR1117/1118/1119/1120

Location:
cpukit/libblock
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/include/rtems/bdbuf.h

    ra650ebb1 rc9b005a9  
    9292extern int rtems_bdbuf_configuration_size;
    9393
     94#define SWAPOUT_TASK_DEFAULT_PRIORITY 15
     95extern rtems_task_priority swapout_task_priority;
     96
    9497/* rtems_bdbuf_init --
    9598 *     Prepare buffering layer to work - initialize buffer descritors
  • cpukit/libblock/src/bdbuf.c

    ra650ebb1 rc9b005a9  
    2929
    3030
    31 #define SWAPOUT_PRIORITY 15
    32 #define SWAPOUT_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2)
     31#define SWAPOUT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2)
    3332
    3433#define READ_MULTIPLE
     
    864863    /* Create and start swapout task */
    865864    rc = rtems_task_create(
    866         rtems_build_name('B', 'S', 'W', 'P'),
    867         SWAPOUT_PRIORITY,
    868         SWAPOUT_STACK_SIZE,
     865        rtems_build_name('B', 'S', 'W', 'P'),   
     866        ((swapout_task_priority > 0)
     867         ? swapout_task_priority
     868         : SWAPOUT_TASK_DEFAULT_PRIORITY),
     869        SWAPOUT_TASK_STACK_SIZE,
    869870        RTEMS_DEFAULT_MODES | RTEMS_NO_PREEMPT,
    870871        RTEMS_DEFAULT_ATTRIBUTES,
Note: See TracChangeset for help on using the changeset viewer.