From 7d91d722baf1f1ff275fd31500526bb2fd6df632 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 13 Dec 1999 15:29:20 +0000 Subject: First attempt at adding simple binary semaphore in addition to the current "mutex" and counting semaphore. This is at the request of Eric Norum and his EPICS porting effort. --- c/src/exec/rtems/include/rtems/rtems/attr.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'c/src/exec/rtems/include/rtems/rtems/attr.h') diff --git a/c/src/exec/rtems/include/rtems/rtems/attr.h b/c/src/exec/rtems/include/rtems/rtems/attr.h index cf9b073360..20d8eebe01 100644 --- a/c/src/exec/rtems/include/rtems/rtems/attr.h +++ b/c/src/exec/rtems/include/rtems/rtems/attr.h @@ -46,8 +46,12 @@ typedef unsigned32 rtems_attribute; #define RTEMS_NO_PRIORITY_CEILING 0x00000000 #define RTEMS_PRIORITY_CEILING 0x00000040 +#define RTEMS_NESTING_ALLOWED 0x00000000 +#define RTEMS_NO_NESTING_ALLOWED 0x00000080 + #define RTEMS_APPLICATION_TASK 0x00000000 -#define RTEMS_SYSTEM_TASK 0x00000080 +#define RTEMS_SYSTEM_TASK 0x00000100 + #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) #define ATTRIBUTES_NOT_SUPPORTED 0 -- cgit v1.2.3