some renaming
authorGerd Zellweger <zgerd@student.ethz.ch>
Fri, 16 Mar 2012 20:46:48 +0000 (21:46 +0100)
committerGerd Zellweger <zgerd@student.ethz.ch>
Fri, 16 Mar 2012 20:46:48 +0000 (21:46 +0100)
--HG--
branch : octopus.renaming
rename : include/dist2/barrier.h => include/octopus/barrier.h
rename : include/dist2/capability_storage.h => include/octopus/capability_storage.h
rename : include/dist2/definitions.h => include/octopus/definitions.h
rename : include/dist2/dist2.h => include/octopus/dist2.h
rename : include/dist2/getset.h => include/octopus/getset.h
rename : include/dist2/init.h => include/octopus/init.h
rename : include/dist2/lock.h => include/octopus/lock.h
rename : include/dist2/parser/ast.h => include/octopus/parser/ast.h
rename : include/dist2/pubsub.h => include/octopus/pubsub.h
rename : include/dist2/semaphores.h => include/octopus/semaphores.h
rename : include/dist2/trigger.h => include/octopus/trigger.h
rename : include/dist2_server/debug.h => include/octopus_server/debug.h
rename : include/dist2_server/init.h => include/octopus_server/init.h
rename : include/dist2_server/query.h => include/octopus_server/query.h
rename : include/dist2_server/service.h => include/octopus_server/service.h
rename : lib/dist2/Hakefile => lib/octopus/Hakefile
rename : lib/dist2/client/barriers.c => lib/octopus/client/barriers.c
rename : lib/dist2/client/capability_storage.c => lib/octopus/client/capability_storage.c
rename : lib/dist2/client/common.h => lib/octopus/client/common.h
rename : lib/dist2/client/getset.c => lib/octopus/client/getset.c
rename : lib/dist2/client/handler.h => lib/octopus/client/handler.h
rename : lib/dist2/client/locking.c => lib/octopus/client/locking.c
rename : lib/dist2/client/nameservice_client.c => lib/octopus/client/nameservice_client.c
rename : lib/dist2/client/dist2.c => lib/octopus/client/octopus.c
rename : lib/dist2/client/pubsub.c => lib/octopus/client/pubsub.c
rename : lib/dist2/client/semaphores.c => lib/octopus/client/semaphores.c
rename : lib/dist2/client/strnatcmp.c => lib/octopus/client/strnatcmp.c
rename : lib/dist2/client/strnatcmp.h => lib/octopus/client/strnatcmp.h
rename : lib/dist2/client/trigger.c => lib/octopus/client/trigger.c
rename : lib/dist2/parser/Makefile => lib/octopus/parser/Makefile
rename : lib/dist2/parser/ast.c => lib/octopus/parser/ast.c
rename : lib/dist2/parser/flex.h => lib/octopus/parser/flex.h
rename : lib/dist2/parser/parse.c => lib/octopus/parser/parse.c
rename : lib/dist2/parser/parse.y => lib/octopus/parser/parse.y
rename : lib/dist2/parser/read.c => lib/octopus/parser/read.c
rename : lib/dist2/parser/scan.c => lib/octopus/parser/scan.c
rename : lib/dist2/parser/scan.l => lib/octopus/parser/scan.l
rename : lib/dist2/parser/test_parser.c => lib/octopus/parser/test_parser.c
rename : lib/dist2/parser/y.tab.h => lib/octopus/parser/y.tab.h
rename : lib/dist2/server/capstorage.c => lib/octopus/server/capstorage.c
rename : lib/dist2/server/init.c => lib/octopus/server/init.c
rename : lib/dist2/server/queue.c => lib/octopus/server/queue.c
rename : lib/dist2/server/queue.h => lib/octopus/server/queue.h
rename : lib/dist2/server/service.c => lib/octopus/server/service.c

47 files changed:
include/octopus/barrier.h [moved from include/dist2/barrier.h with 100% similarity]
include/octopus/capability_storage.h [moved from include/dist2/capability_storage.h with 100% similarity]
include/octopus/definitions.h [moved from include/dist2/definitions.h with 100% similarity]
include/octopus/dist2.h [moved from include/dist2/dist2.h with 100% similarity]
include/octopus/getset.h [moved from include/dist2/getset.h with 100% similarity]
include/octopus/init.h [moved from include/dist2/init.h with 100% similarity]
include/octopus/lock.h [moved from include/dist2/lock.h with 100% similarity]
include/octopus/parser/ast.h [moved from include/dist2/parser/ast.h with 100% similarity]
include/octopus/pubsub.h [moved from include/dist2/pubsub.h with 100% similarity]
include/octopus/semaphores.h [moved from include/dist2/semaphores.h with 100% similarity]
include/octopus/trigger.h [moved from include/dist2/trigger.h with 100% similarity]
include/octopus_server/debug.h [moved from include/dist2_server/debug.h with 100% similarity]
include/octopus_server/init.h [moved from include/dist2_server/init.h with 100% similarity]
include/octopus_server/query.h [moved from include/dist2_server/query.h with 100% similarity]
include/octopus_server/service.h [moved from include/dist2_server/service.h with 100% similarity]
lib/barrelfish/nameservice_client.c
lib/octopus/Hakefile [moved from lib/dist2/Hakefile with 73% similarity]
lib/octopus/client/barriers.c [moved from lib/dist2/client/barriers.c with 100% similarity]
lib/octopus/client/capability_storage.c [moved from lib/dist2/client/capability_storage.c with 100% similarity]
lib/octopus/client/common.h [moved from lib/dist2/client/common.h with 100% similarity]
lib/octopus/client/getset.c [moved from lib/dist2/client/getset.c with 100% similarity]
lib/octopus/client/handler.h [moved from lib/dist2/client/handler.h with 100% similarity]
lib/octopus/client/locking.c [moved from lib/dist2/client/locking.c with 100% similarity]
lib/octopus/client/nameservice_client.c [moved from lib/dist2/client/nameservice_client.c with 100% similarity]
lib/octopus/client/octopus.c [moved from lib/dist2/client/dist2.c with 100% similarity]
lib/octopus/client/pubsub.c [moved from lib/dist2/client/pubsub.c with 100% similarity]
lib/octopus/client/semaphores.c [moved from lib/dist2/client/semaphores.c with 100% similarity]
lib/octopus/client/strnatcmp.c [moved from lib/dist2/client/strnatcmp.c with 100% similarity]
lib/octopus/client/strnatcmp.h [moved from lib/dist2/client/strnatcmp.h with 100% similarity]
lib/octopus/client/trigger.c [moved from lib/dist2/client/trigger.c with 100% similarity]
lib/octopus/parser/Makefile [moved from lib/dist2/parser/Makefile with 100% similarity]
lib/octopus/parser/ast.c [moved from lib/dist2/parser/ast.c with 100% similarity]
lib/octopus/parser/flex.h [moved from lib/dist2/parser/flex.h with 100% similarity]
lib/octopus/parser/parse.c [moved from lib/dist2/parser/parse.c with 100% similarity]
lib/octopus/parser/parse.y [moved from lib/dist2/parser/parse.y with 100% similarity]
lib/octopus/parser/read.c [moved from lib/dist2/parser/read.c with 100% similarity]
lib/octopus/parser/scan.c [moved from lib/dist2/parser/scan.c with 100% similarity]
lib/octopus/parser/scan.l [moved from lib/dist2/parser/scan.l with 100% similarity]
lib/octopus/parser/test_parser.c [moved from lib/dist2/parser/test_parser.c with 100% similarity]
lib/octopus/parser/y.tab.h [moved from lib/dist2/parser/y.tab.h with 100% similarity]
lib/octopus/server/capstorage.c [moved from lib/dist2/server/capstorage.c with 100% similarity]
lib/octopus/server/init.c [moved from lib/dist2/server/init.c with 100% similarity]
lib/octopus/server/queue.c [moved from lib/dist2/server/queue.c with 100% similarity]
lib/octopus/server/queue.h [moved from lib/dist2/server/queue.h with 100% similarity]
lib/octopus/server/service.c [moved from lib/dist2/server/service.c with 100% similarity]
lib/posixcompat/semaphore.c
lib/posixcompat/shm.c

similarity index 100%
rename from include/dist2/init.h
rename to include/octopus/init.h
similarity index 100%
rename from include/dist2/lock.h
rename to include/octopus/lock.h
index b87662f..e42f89d 100644 (file)
@@ -19,8 +19,8 @@
 #include <if/dist2_defs.h>
 #include <if/dist2_rpcclient_defs.h>
 #include <if/monitor_defs.h>
-#include <dist2/getset.h> // for dist_read TODO
-#include <dist2/trigger.h> // for NOP_TRIGGER
+#include <octopus/getset.h> // for dist_read TODO
+#include <octopus/trigger.h> // for NOP_TRIGGER
 
 /**
  * \brief Non-blocking name service lookup
similarity index 73%
rename from lib/dist2/Hakefile
rename to lib/octopus/Hakefile
index 873c8f4..44ada8b 100644 (file)
@@ -6,12 +6,12 @@
 -- If you do not find this file, copies can be found by writing to:
 -- ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group.
 --
--- Hakefile for lib/dist2
+-- Hakefile for lib/octopus
 -- 
 --------------------------------------------------------------------------
 
 [
-    build library { target = "dist_parser",
+    build library { target = "octopus_parser",
                     addCFlags = [ "-O3",
                                   "-Wno-unused-value", 
                                   "-Wno-redundant-decls", 
      -- no-implicit-function-declaration:
      -- warning: implicit declaration of function ‘yylex’ 
 
-     build library { target = "dist2",
+     build library { target = "octopus",
                      addCFlags = [ "-O2" ],
-                    cFiles = [ "client/dist2.c", "client/getset.c", "client/pubsub.c", 
+                    cFiles = [ "client/octopus.c", "client/getset.c", 
+                               "client/pubsub.c",
                                "client/barriers.c", "client/trigger.c",
                                "client/locking.c", "client/semaphores.c", 
                                "client/capability_storage.c", 
                                "client/strnatcmp.c" ],
-                    flounderDefs = [ "dist2" ],
-                    flounderBindings = [ "dist2" ],
-                    flounderExtraBindings = [ ("dist2", ["rpcclient"]) ],
-                    flounderTHCStubs = [ "dist2" ],
-                    addLibraries = ["dist_parser", "thc"]
+                    flounderDefs = [ "octopus" ],
+                    flounderBindings = [ "octopus" ],
+                    flounderExtraBindings = [ ("octopus", ["rpcclient"]) ],
+                    flounderTHCStubs = [ "octopus" ],
+                    addLibraries = ["octopus_parser", "thc"]
                   },
                   
-    build library { target = "dist_server",
+    build library { target = "octopus_server",
                     addCFlags = [ "-O2" ],
                     cFiles = [ "server/service.c", "server/init.c", 
                                "server/queue.c", "server/capstorage.c" ],
-                    flounderBindings = [ "dist2" ],
+                    flounderBindings = [ "octopus" ],
                     addLibraries = [ "skb", "hashtable" ] 
                    }
 ]
index e7f9e5a..f5cbcbe 100644 (file)
@@ -15,8 +15,8 @@
 #include <string.h>
 #include "posixcompat.h"
 
-#include <dist2/init.h>
-#include <dist2/semaphores.h>
+#include <octopus/init.h>
+#include <octopus/semaphores.h>
 
 
 int sem_init(sem_t *sem, int pshared, unsigned int value)
index d4c6be7..22a14f3 100644 (file)
@@ -14,8 +14,8 @@
 #include <errno.h>
 #include <stdio.h>
 #include <barrelfish/barrelfish.h>
-#include <dist2/init.h>
-#include <dist2/capability_storage.h>
+#include <octopus/init.h>
+#include <octopus/capability_storage.h>
 #include "fdtab.h"
 #include "posixcompat.h"