]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/commitdiff
cpu id default in conf params
authorsangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Wed, 31 Oct 2007 12:30:53 +0000 (12:30 +0000)
committersangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Wed, 31 Oct 2007 12:30:53 +0000 (12:30 +0000)
git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@829 35b4ef3e-fd22-0410-ab77-dab3279adceb

frsh_configuration_parameters.h
frsh_core_types.h
frsh_distributed.h

index 936d3551403a1c43ef260a7ee60428aacb58d7c0..6345c02849e7c6e7c72678ea5c31f7cd5205feb0 100644 (file)
  **/
 #define FRSH_AUTOMATIC_PRIO_ASSIGN_ENABLE true
 
-#define FRSH_DISTRIBUTED_MODULE_SUPPORTED false
+#define FRSH_DISTRIBUTED_MODULE_SUPPORTED true
+
+/** This defines 1 resource_id value for systems that have only one
+    resource of a kind. **/
+#define FRSH_RESOURCE_ID_DEFAULT 0
+#define FRSH_CPU_ID_DEFAULT 1
+#define FRSH_NETWORK_ID_DEFAULT 0
 
 /**
  * @defgroup internal Array size for memory optimization
index 3ee6570f3f526a65dba4778d307374aca7989e47..21edd7c6d4ac5b20262490771096aea1624e28f9 100644 (file)
@@ -130,12 +130,6 @@ typedef enum {
 /**********************************************/
 typedef unsigned int frsh_resource_id_t;
 
-/** This defines 1 resource_id value for systems that have only one
-    resource of a kind. **/
-#define FRSH_RESOURCE_ID_DEFAULT 0
-#define FRSH_CPU_ID_DEFAULT 0
-#define FRSH_NETWORK_ID_DEFAULT 0
-
 /** Kind of contract: regular, background or dummy **/
 typedef enum {
         FRSH_CT_REGULAR    = 0,
index 084f3b22a9db380ec9f705c8340ee2053eb3f8a1..58d8d8b9d83a10c9629115d8f297778c7ad967aa 100644 (file)
@@ -606,10 +606,10 @@ int frsh_receive_endpoint_destroy
  **/
 int frsh_receive_sync
   (const frsh_receive_endpoint_t  endpoint,
-   void                          *buffer,
+   void                           *buffer,
    size_t                         buffer_size,
-   size_t                        *message_size,
-   frsh_network_address_t *from);
+   size_t                         *message_size,
+   frsh_network_address_t         *from);
 
 /**
  * frsh_receive_async()
@@ -627,10 +627,10 @@ int frsh_receive_sync
  **/
 int frsh_receive_async
   (const frsh_receive_endpoint_t  endpoint,
-   void                          *buffer,
+   void                           *buffer,
    size_t                         buffer_size,
-   size_t                        *message_size,
-   frsh_network_address_t *from);
+   size_t                         *message_size,
+   frsh_network_address_t         *from);
 
 
 /**