aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/litmus.h3
-rw-r--r--src/litmus.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/include/litmus.h b/include/litmus.h
index 5a5461f..0e3b69e 100644
--- a/include/litmus.h
+++ b/include/litmus.h
@@ -157,7 +157,8 @@ typedef enum {
157 MPCP_VS_SEM = 3, /**< Multiprocessor Priority Ceiling Protocol with 157 MPCP_VS_SEM = 3, /**< Multiprocessor Priority Ceiling Protocol with
158 Virtual Spinning */ 158 Virtual Spinning */
159 DPCP_SEM = 4, /**< Distributed Priority Ceiling Protocol */ 159 DPCP_SEM = 4, /**< Distributed Priority Ceiling Protocol */
160 PCP_SEM = 5, /**< Priority Ceiling Protocol */ 160 PCP_SEM = 5, /**< Priority Ceiling Protocol */
161 DFLP_SEM = 6, /**< Distributed FIFO Locking Protocol */
161} obj_type_t; 162} obj_type_t;
162 163
163/** 164/**
diff --git a/src/litmus.c b/src/litmus.c
index 4631eea..d7b7b3c 100644
--- a/src/litmus.c
+++ b/src/litmus.c
@@ -26,6 +26,7 @@ static struct {
26 {MPCP_VS_SEM, "MPCP-VS"}, 26 {MPCP_VS_SEM, "MPCP-VS"},
27 LP(DPCP), 27 LP(DPCP),
28 LP(PCP), 28 LP(PCP),
29 LP(DFLP),
29}; 30};
30 31
31#define NUM_PROTOS (sizeof(protocol)/sizeof(protocol[0])) 32#define NUM_PROTOS (sizeof(protocol)/sizeof(protocol[0]))