Changeset 828be6d in rtems
- Timestamp:
- 01/03/03 16:39:46 (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 8f10c92
- Parents:
- b9fa9f0
- Location:
- cpukit/libblock
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libblock/ChangeLog
rb9fa9f0 r828be6d 1 2003-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 1 6 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 7 -
cpukit/libblock/src/ata.c
rb9fa9f0 r828be6d 39 39 #define DISABLE_PREEMPTION(key) \ 40 40 do { \ 41 rtems_task_mode(RTEMS_ PREEMPT_MASK, RTEMS_NO_PREEMPT, &(key)); \41 rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &(key)); \ 42 42 } while (0) 43 43 … … 45 45 do { \ 46 46 rtems_mode temp; \ 47 rtems_task_mode( RTEMS_PREEMPT_MASK, (key), &temp); \47 rtems_task_mode((key), RTEMS_PREEMPT_MASK, &temp); \ 48 48 } while (0) 49 49 -
cpukit/libblock/src/bdbuf.c
rb9fa9f0 r828be6d 80 80 #define DISABLE_PREEMPTION(key) \ 81 81 do { \ 82 rtems_task_mode(RTEMS_ PREEMPT_MASK, RTEMS_NO_PREEMPT, &(key)); \82 rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &(key)); \ 83 83 } while (0) 84 84 … … 86 86 do { \ 87 87 rtems_mode temp; \ 88 rtems_task_mode( RTEMS_PREEMPT_MASK, (key), &temp); \88 rtems_task_mode((key), RTEMS_PREEMPT_MASK, &temp); \ 89 89 } while (0) 90 90
Note: See TracChangeset
for help on using the changeset viewer.