Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix (c) dates; win32 cross-port
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 10 Dec 2004 06:45:04 +0000 (06:45 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 10 Dec 2004 06:45:04 +0000 (06:45 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@588 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/gras/DataDesc/datadesc_private.h
src/gras/DataDesc/ddt_convert.c

index 64b2167..4b762be 100644 (file)
@@ -4,7 +4,9 @@
 
 /* module's private interface masked even to other parts of GRAS.           */
 
-/* Copyright (c) 2004 Olivier Aumage, Martin Quinson. All rights reserved.  */
+/* Copyright (c) 2003 Olivier Aumage.                                       */
+/* Copyright (c) 2003, 2004 Martin Quinson.                                 */
+/* All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -41,7 +43,7 @@ void gras_ddt_freev(void *ddt);
  * Descriptions of all known architectures *
  *******************************************/
 
-#define gras_arch_count 6
+#define gras_arch_count 7
 typedef enum {
   gras_ddt_scalar_char      = 0,
   gras_ddt_scalar_short     = 1,
index 3169289..486f200 100644 (file)
@@ -2,7 +2,9 @@
 
 /* ddt_remote - Stuff needed to get datadescs about remote hosts            */
 
-/* Copyright (c) 2004 Olivier Aumage, Martin Quinson. All rights reserved.  */
+/* Copyright (c) 2003 Olivier Aumage.                                       */
+/* Copyright (c) 2003, 2004 Martin Quinson.                                 */
+/* All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -25,6 +27,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(ddt_convert,datadesc,
  ***  B C<1/1> I<2/2:4/8:8/8:8/8> P<4/4:4/4> D<4/4:8/4>
  ***  B C:1/1: I:2/2:4/4:4/4:8/8: P:4/4:4/4: D:4/4:8/4: AIX
  ***  B C:1/1: I:2/2:4/2:4/2:8/2: P:4/2:4/2: D:4/2:8/2: ARM
+ ***  l C<1/1> I<2/2:4/4:4/4:8/8> P<4/4:4/4> D<4/4:8/8> win32 
  ***/
 
 const gras_arch_desc_t gras_arches[gras_arch_count] = {
@@ -44,8 +47,10 @@ const gras_arch_desc_t gras_arches[gras_arch_count] = {
                     {1,2,4,4,8,   4,4,   4,4}},
 
   {"arm",      1,   {1,2,4,4,8,   4,4,   4,8}, 
-                    {1,2,2,2,2,   2,2,   2,2}}
+                    {1,2,2,2,2,   2,2,   2,2}},
 
+  {"win32",    0,   {1,2,4,4,8,   4,4,   4,8}, 
+                    {1,2,4,4,8,   4,4,   4,8}}
 };
 
 const char *gras_datadesc_arch_name(int code) {
@@ -54,6 +59,7 @@ const char *gras_datadesc_arch_name(int code) {
    return gras_arches[code].name;
 }
 
+
 /**
  * Local function doing the grunt work
  */
@@ -62,7 +68,6 @@ gras_dd_reverse_bytes(void *to,
                      const void *from,
                      size_t length);
 
-
 /**
  * gras_dd_convert_elm:
  *