From 87e946afe44abcc8b8c68f8c5a7527ed860e2beb Mon Sep 17 00:00:00 2001
From: Daniela Genius <Daniela.Genius@lip6.fr>
Date: Fri, 8 Jan 2016 08:44:33 +0000
Subject: [PATCH] merged

---
 executablecode/generated_topcell/config       | 44 +++++++++++++++++++
 .../generated_topcell/config_noproc           | 43 ++++++++++++++++++
 executablecode/generated_topcell/deployinfo.h |  1 +
 .../generated_topcell/deployinfo_map.h        |  2 +
 executablecode/generated_topcell/nbproc       |  1 +
 executablecode/generated_topcell/procinfo.mk  |  1 +
 6 files changed, 92 insertions(+)
 create mode 100644 executablecode/generated_topcell/config
 create mode 100644 executablecode/generated_topcell/config_noproc
 create mode 100644 executablecode/generated_topcell/deployinfo.h
 create mode 100644 executablecode/generated_topcell/deployinfo_map.h
 create mode 100644 executablecode/generated_topcell/nbproc
 create mode 100644 executablecode/generated_topcell/procinfo.mk

diff --git a/executablecode/generated_topcell/config b/executablecode/generated_topcell/config
new file mode 100644
index 0000000000..0ef4c391cb
--- /dev/null
+++ b/executablecode/generated_topcell/config
@@ -0,0 +1,44 @@
+
+
+  %set OUTPUT_NAME avatar
+
+  # New source code module to be compiled
+  %append MODULES $(OUTPUT_NAME):$(CONFIGPATH)
+
+  # Application license
+  CONFIG_LICENSE_APP_LGPL
+
+# Libs
+#DG enleve 8.9. remis
+  CONFIG_PTHREAD
+  CONFIG_PTHREAD_MAIN
+  CONFIG_PTHREAD_TIME
+
+#ajoute DG
+#DG enleve 8.9.
+#CONFIG_PTHREAD_ATTRIBUTES
+#ajoute DG
+
+  CONFIG_PTHREAD_STACK_SIZE 32768
+  CONFIG_LIBC_STREAM_STD
+#  CONFIG_MUTEK_TIMER undefined
+  CONFIG_LIBAVATAR
+  CONFIG_HEXO_INTTYPES_DEPRECATED undefined
+  CONFIG_LIBM
+  CONFIG_LIBC_STREAM
+  CONFIG_VFS
+#ajoute DG
+ CONFIG_MWMR
+ CONFIG_MWMR_SOCLIB
+#fin ajoute DG
+  CONFIG_MUTEK_SCHEDULER_STATIC
+
+%include $(SRC_DIR)/examples/common/build_options.conf
+%include $(SRC_DIR)/examples/common/platforms.conf
+
+  # inter-processor interrupts
+  CONFIG_HEXO_IPI
+#  CONFIG_ARCH_SMP undefined
+# number of processors derived from SysML design
+# CONFIG_CPU_MAXCOUNT 5
+CONFIG_CPU_MAXCOUNT 2 
diff --git a/executablecode/generated_topcell/config_noproc b/executablecode/generated_topcell/config_noproc
new file mode 100644
index 0000000000..5d3a1d9701
--- /dev/null
+++ b/executablecode/generated_topcell/config_noproc
@@ -0,0 +1,43 @@
+
+
+  %set OUTPUT_NAME avatar
+
+  # New source code module to be compiled
+  %append MODULES $(OUTPUT_NAME):$(CONFIGPATH)
+
+  # Application license
+  CONFIG_LICENSE_APP_LGPL
+
+# Libs
+#DG enleve 8.9. remis
+  CONFIG_PTHREAD
+  CONFIG_PTHREAD_MAIN
+  CONFIG_PTHREAD_TIME
+
+#ajoute DG
+#DG enleve 8.9.
+#CONFIG_PTHREAD_ATTRIBUTES
+#ajoute DG
+
+  CONFIG_PTHREAD_STACK_SIZE 32768
+  CONFIG_LIBC_STREAM_STD
+#  CONFIG_MUTEK_TIMER undefined
+  CONFIG_LIBAVATAR
+  CONFIG_HEXO_INTTYPES_DEPRECATED undefined
+  CONFIG_LIBM
+  CONFIG_LIBC_STREAM
+  CONFIG_VFS
+#ajoute DG
+ CONFIG_MWMR
+ CONFIG_MWMR_SOCLIB
+#fin ajoute DG
+  CONFIG_MUTEK_SCHEDULER_STATIC
+
+%include $(SRC_DIR)/examples/common/build_options.conf
+%include $(SRC_DIR)/examples/common/platforms.conf
+
+  # inter-processor interrupts
+  CONFIG_HEXO_IPI
+#  CONFIG_ARCH_SMP undefined
+# number of processors derived from SysML design
+# CONFIG_CPU_MAXCOUNT 5
diff --git a/executablecode/generated_topcell/deployinfo.h b/executablecode/generated_topcell/deployinfo.h
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/executablecode/generated_topcell/deployinfo.h
@@ -0,0 +1 @@
+
diff --git a/executablecode/generated_topcell/deployinfo_map.h b/executablecode/generated_topcell/deployinfo_map.h
new file mode 100644
index 0000000000..0ccd4769c6
--- /dev/null
+++ b/executablecode/generated_topcell/deployinfo_map.h
@@ -0,0 +1,2 @@
+
+#define MAP_A\
diff --git a/executablecode/generated_topcell/nbproc b/executablecode/generated_topcell/nbproc
new file mode 100644
index 0000000000..ac1e35f618
--- /dev/null
+++ b/executablecode/generated_topcell/nbproc
@@ -0,0 +1 @@
+CONFIG_CPU_MAXCOUNT 2 
diff --git a/executablecode/generated_topcell/procinfo.mk b/executablecode/generated_topcell/procinfo.mk
new file mode 100644
index 0000000000..65645e84ef
--- /dev/null
+++ b/executablecode/generated_topcell/procinfo.mk
@@ -0,0 +1 @@
+SOCLIB_CPU_COUNT = 1
-- 
GitLab