]> rtime.felk.cvut.cz Git - rtems-pluggable-edf.git/commitdiff
edf: add late unblock protocol defines for temporal isolation
authorPetr Benes <benesp16@fel.cvut.cz>
Thu, 12 May 2011 23:58:13 +0000 (01:58 +0200)
committerPetr Benes <benesp16@fel.cvut.cz>
Thu, 12 May 2011 23:58:13 +0000 (01:58 +0200)
src/edf/edf_types.h
src/edf/rbtree.h

index 38dc0ecc8c72957ca9b25521d02ed13b1fc70477..55a70204f7bb8cff9de5ee398d01c65a76b278f1 100644 (file)
@@ -10,6 +10,9 @@ extern "C" {
 #include <rtems/score/thread.h>
 
 
+/// Unblock rule for temporal isolation included
+#define EDF_LATE_UNBLOCK       1       
+
 typedef uint32_t Deadline_Control;
 
 #define EDF_BYTES_FOR_TIME 4   // It is uint32_t
index 9ac043b65bc7e4b9959f24a28975d59e68d8db77..de58e66a85dd9642080b61fddc6d1943cdde05f8 100644 (file)
@@ -14,7 +14,7 @@ extern "C" {
 // as scheduler_info 
 typedef struct RBT_node_struct {
        Deadline_Control abs_deadline;  
-       Deadline_Control rel_deadline;  
+       Deadline_Control rel_deadline;          
        EDF_Node  *left;
        EDF_Node  *right;
        EDF_Node  *parent;
@@ -23,6 +23,7 @@ typedef struct RBT_node_struct {
        uint8_t is_enqueued;
        uint32_t cmp_time; 
        rtems_id timer_id;
+       uint8_t flags; 
 } RBT_Node;
 
 void _RBT_Insert(EDF_Chain_Control *chain,EDF_Node *node);