From: bdemsky <bdemsky>
Date: Tue, 10 May 2011 06:27:25 +0000 (+0000)
Subject: change enum & other fixes
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=50720dbfab5d1d98a9e88028fda5d0799f6f39a2;p=IRC.git

change enum & other fixes
---

diff --git a/Robust/src/Runtime/bamboo/multicoremsg.c b/Robust/src/Runtime/bamboo/multicoremsg.c
index bc94d7c3..92aa3c91 100644
--- a/Robust/src/Runtime/bamboo/multicoremsg.c
+++ b/Robust/src/Runtime/bamboo/multicoremsg.c
@@ -52,7 +52,7 @@ int msgsizearray[] = {
   2, //GCFINISHPREF,          // 0xF7
 #endif // GC_CACHE_ADAPT
 #endif // MULTICORE_GC
-  //MSGEND
+  -1//MSGEND
 };
 
 INLINE int checkMsgLength_I() {
diff --git a/Robust/src/Runtime/bamboo/multicoremsg.h b/Robust/src/Runtime/bamboo/multicoremsg.h
index cea4adc6..9f5b503a 100644
--- a/Robust/src/Runtime/bamboo/multicoremsg.h
+++ b/Robust/src/Runtime/bamboo/multicoremsg.h
@@ -157,7 +157,7 @@ volatile bool isMsgHanging;
  *            (size is always 3 * sizeof(int))
  */
 typedef enum {
-  MSGSTART = 0xD0,       // 0xD0
+  MSGSTART = 0x0,       // 0xD0
   TRANSOBJ,              // 0xD1
   TRANSTALL,             // 0xD2
   LOCKREQUEST,           // 0xD3