Commit c4fc17f7 authored by julien.delange's avatar julien.delange
Browse files

* include/po_hi_protected.h

   - Define the __PO_HI_PROTECTED_PROTOCOL_ constants
     to define supported concurrency protocols.

 * include/po_hi_task.h
   - Add constant about the min and max priorities of task
     with the RTEMS executive.



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@1638 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 7793bcbd
......@@ -13,6 +13,10 @@
#include <stdint.h>
#include <deployment.h>
#define __PO_HI_PROTECTED_TYPE_REGULAR
#define __PO_HI_PROTECTED_TYPE_PIP
#define __PO_HI_PROTECTED_TYPE_PCP
typedef uint8_t __po_hi_protected_t;
int __po_hi_protected_lock (__po_hi_protected_t protected_id);
......@@ -38,4 +42,13 @@ int __po_hi_protected_init ();
* objects in PolyORB-HI-C
*/
typedef enum
{
__PO_HI_PROTECTED_REGULAR = 1,
__PO_HI_PROTECTED_PIP = 2,
__PO_HI_PROTECTED_PCP = 3,
__PO_HI_PROTECTED_IPCP = 4,
__PO_HI_PROTECTED_INVALID = 1
}__po_hi_protected_protocol_t;
#endif /* __PO_HI_PROTECTED_H__ */
......@@ -53,6 +53,8 @@
#include <inttypes.h>
#include <po_hi_time.h>
#define __PO_HI_DEFAULT_PRIORITY RTEMS_NO_PRIORITY
#define __PO_HI_MAX_PRIORITY RTEMS_NO_PRIORITY
#define __PO_HI_MIN_PRIORITY RTEMS_NO_PRIORITY
#endif
#include <po_hi_types.h>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment