diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-09-25 13:38:24 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-09-25 13:38:24 +0000 |
commit | 8042961d87b10e0bf0b0f021e24dbb8eb1979841 (patch) | |
tree | 975fa83004c5c30404880036836cdfae88e775ab /cpukit/rtems/include/rtems/rtems/attr.h | |
parent | Add name. (diff) | |
download | rtems-8042961d87b10e0bf0b0f021e24dbb8eb1979841.tar.bz2 |
2006-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/Makefile.am, rtems/preinstall.am, rtems/include/rtems.h,
rtems/include/rtems/rtems/attr.h, rtems/include/rtems/rtems/config.h,
rtems/inline/rtems/rtems/attr.inl, rtems/macros/rtems/rtems/attr.inl:
Add Classic API Barriers.
* rtems/include/rtems/rtems/barrier.h,
rtems/include/rtems/rtems/barriermp.h,
rtems/inline/rtems/rtems/barrier.inl,
rtems/macros/rtems/rtems/barrier.inl, rtems/src/barrier.c,
rtems/src/barriercreate.c, rtems/src/barrierdelete.c,
rtems/src/barrierident.c, rtems/src/barrierrelease.c,
rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c:
New files.
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/attr.h')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/attr.h | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/attr.h b/cpukit/rtems/include/rtems/rtems/attr.h index 22e78ee052..f37e8caa33 100644 --- a/cpukit/rtems/include/rtems/rtems/attr.h +++ b/cpukit/rtems/include/rtems/rtems/attr.h @@ -31,28 +31,35 @@ typedef uint32_t rtems_attribute; #define RTEMS_DEFAULT_ATTRIBUTES 0x00000000 -#define RTEMS_NO_FLOATING_POINT 0x00000000 /* don't use FP HW */ -#define RTEMS_FLOATING_POINT 0x00000001 /* utilize coprocessor */ - #define RTEMS_LOCAL 0x00000000 /* local resource */ #define RTEMS_GLOBAL 0x00000002 /* global resource */ #define RTEMS_FIFO 0x00000000 /* process RTEMS_FIFO */ #define RTEMS_PRIORITY 0x00000004 /* process by priority */ + /* RTEMS Task Specific Attributes */ +#define RTEMS_NO_FLOATING_POINT 0x00000000 /* don't use FP HW */ +#define RTEMS_FLOATING_POINT 0x00000001 /* utilize coprocessor */ + + /* RTEMS Semaphore Specific Attributes */ #define RTEMS_SEMAPHORE_CLASS 0x00000030 /* mask */ #define RTEMS_COUNTING_SEMAPHORE 0x00000000 #define RTEMS_BINARY_SEMAPHORE 0x00000010 #define RTEMS_SIMPLE_BINARY_SEMAPHORE 0x00000020 -#define RTEMS_NO_INHERIT_PRIORITY 0x00000000 -#define RTEMS_INHERIT_PRIORITY 0x00000040 +#define RTEMS_NO_INHERIT_PRIORITY 0x00000000 +#define RTEMS_INHERIT_PRIORITY 0x00000040 + +#define RTEMS_NO_PRIORITY_CEILING 0x00000000 +#define RTEMS_PRIORITY_CEILING 0x00000080 -#define RTEMS_NO_PRIORITY_CEILING 0x00000000 -#define RTEMS_PRIORITY_CEILING 0x00000080 + /* RTEMS Barrier Specific Attributes */ +#define RTEMS_BARRIER_AUTOMATIC_RELEASE 0x00000010 +#define RTEMS_BARRIER_MANUAL_RELEASE 0x00000000 -#define RTEMS_APPLICATION_TASK 0x00000000 -#define RTEMS_SYSTEM_TASK 0x00000100 + /* RTEMS Internal Task Specific Attributes */ +#define RTEMS_APPLICATION_TASK 0x00000000 +#define RTEMS_SYSTEM_TASK 0x00008000 #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) |