Changeset 828be6d in rtems


Ignore:
Timestamp:
01/03/03 16:39:46 (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
8f10c92
Parents:
b9fa9f0
Message:

2003-01-03 Eugeny S. Mints <Eugeny.Mints@…>

  • src/ata.c, src/bdbuf.c: Correct invocation of rtems_task_mode() so the task's preemption mode setting is properly maintained.
Location:
cpukit/libblock
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/ChangeLog

    rb9fa9f0 r828be6d  
     12003-01-03      Eugeny S. Mints <Eugeny.Mints@oktet.ru>
     2
     3        * src/ata.c, src/bdbuf.c: Correct invocation of rtems_task_mode()
     4        so the task's preemption mode setting is properly maintained.
     5
    162002-12-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/libblock/src/ata.c

    rb9fa9f0 r828be6d  
    3939#define DISABLE_PREEMPTION(key) \
    4040    do {                                                               \
    41         rtems_task_mode(RTEMS_PREEMPT_MASK, RTEMS_NO_PREEMPT, &(key)); \
     41        rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &(key)); \
    4242    } while (0)
    4343
     
    4545    do {                                                        \
    4646        rtems_mode temp;                                        \
    47         rtems_task_mode(RTEMS_PREEMPT_MASK, (key), &temp);      \
     47        rtems_task_mode((key), RTEMS_PREEMPT_MASK, &temp);      \
    4848    } while (0)
    4949
  • cpukit/libblock/src/bdbuf.c

    rb9fa9f0 r828be6d  
    8080#define DISABLE_PREEMPTION(key) \
    8181    do {                                                               \
    82         rtems_task_mode(RTEMS_PREEMPT_MASK, RTEMS_NO_PREEMPT, &(key)); \
     82        rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &(key)); \
    8383    } while (0)
    8484
     
    8686    do {                                                        \
    8787        rtems_mode temp;                                        \
    88         rtems_task_mode(RTEMS_PREEMPT_MASK, (key), &temp);      \
     88        rtems_task_mode((key), RTEMS_PREEMPT_MASK, &temp);      \
    8989    } while (0)
    9090
Note: See TracChangeset for help on using the changeset viewer.