Linux: Moved MultiProc config into the platform specific LAD daemon.
authorArnie Reynoso <arnier@ti.com>
Thu, 25 Apr 2013 21:57:06 +0000 (14:57 -0700)
committerChris Ring <cring@ti.com>
Fri, 26 Apr 2013 21:49:48 +0000 (14:49 -0700)
Also updated example apps to correctly call Ipc_start() before any
MultiProc functions.

24 files changed:
Makefile.am
Makefile.in
configure
configure.ac
linux/include/_MultiProc.h
linux/include/_lad.h
linux/src/api/Ipc.c
linux/src/api/Makefile.am
linux/src/api/Makefile.in
linux/src/api/MultiProc.c [new file with mode: 0644]
linux/src/daemon/Makefile.am
linux/src/daemon/Makefile.in
linux/src/daemon/MultiProcCfg_omap54xx_smp.c [moved from linux/src/family/SystemCfg_omap54xx_smp.c with 96% similarity]
linux/src/daemon/MultiProcCfg_omapl138.c [moved from linux/src/family/SystemCfg_omapl138.c with 93% similarity]
linux/src/daemon/MultiProcCfg_tci6614.c [moved from linux/src/family/SystemCfg_tci6614.c with 96% similarity]
linux/src/daemon/MultiProcCfg_tci6638.c [moved from linux/src/family/SystemCfg_tci6638.c with 96% similarity]
linux/src/daemon/MultiProc_daemon.c [moved from linux/src/family/SystemCfg_omap4430.c with 68% similarity]
linux/src/daemon/lad.c
linux/src/family/Makefile.am [deleted file]
linux/src/family/Makefile.in [deleted file]
linux/src/tests/Makefile.am
linux/src/tests/Makefile.in
linux/src/tests/MessageQApp.c
linux/src/tests/MessageQBench.c

index 35e348075baa363e074d11fca78076f8b7c3fc78..49c49ad9e8a606e5f397f0f1d615d9226b20da96 100644 (file)
@@ -32,7 +32,7 @@
 ##
 
 # the subdirectories of the project to go into
-SUBDIRS =  linux/etc linux/src/utils linux/src/api linux/src/family \
+SUBDIRS =  linux/etc linux/src/utils linux/src/api \
         linux/src/mm linux/src/daemon linux/src/tests
 
 # hook to remove libtools library extention files (.la)
index 27b5b352e436e000dbf1777213074f2e9689eb08..844cc8c8d958f1bb116c8f84188bb3f42a59e106 100644 (file)
@@ -197,7 +197,7 @@ sysconfdir = @sysconfdir@
 target_alias = @target_alias@
 
 # the subdirectories of the project to go into
-SUBDIRS = linux/etc linux/src/utils linux/src/api linux/src/family \
+SUBDIRS = linux/etc linux/src/utils linux/src/api \
         linux/src/mm linux/src/daemon linux/src/tests
 
 
index 4f1007eadc8f19f1fb857993785390e7c58797e7..aafc27c75314803f8a8bfb28e1e33a3384948691 100755 (executable)
--- a/configure
+++ b/configure
@@ -16902,8 +16902,6 @@ fi
 
           ac_config_files="$ac_config_files linux/src/api/Makefile"
 
-          ac_config_files="$ac_config_files linux/src/family/Makefile"
-
           ac_config_files="$ac_config_files linux/src/mm/Makefile"
 
           ac_config_files="$ac_config_files linux/src/daemon/Makefile"
@@ -17552,7 +17550,6 @@ do
   "linux/etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/etc/Makefile" ;;
   "linux/src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/src/utils/Makefile" ;;
   "linux/src/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/src/api/Makefile" ;;
-  "linux/src/family/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/src/family/Makefile" ;;
   "linux/src/mm/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/src/mm/Makefile" ;;
   "linux/src/daemon/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/src/daemon/Makefile" ;;
   "linux/src/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/src/tests/Makefile" ;;
index 1dfc3024d7bb577a201ef02329bb0b37e769d314..ce2422c108d63f67efd64043e49a902f03637757 100644 (file)
@@ -109,7 +109,6 @@ AC_CONFIG_FILES([Makefile])
 AC_CONFIG_FILES([linux/etc/Makefile])
 AC_CONFIG_FILES([linux/src/utils/Makefile])
 AC_CONFIG_FILES([linux/src/api/Makefile])
-AC_CONFIG_FILES([linux/src/family/Makefile])
 AC_CONFIG_FILES([linux/src/mm/Makefile])
 AC_CONFIG_FILES([linux/src/daemon/Makefile])
 AC_CONFIG_FILES([linux/src/tests/Makefile])
index 9cb691da310eaf7192f946b28ee63397665dfc85..39ed3858e654c9455f5f5d4389acf2057775a1fe 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright (c) 2008-2012, Texas Instruments Incorporated
+ *  Copyright (c) 2008-2013, Texas Instruments Incorporated
  *  All rights reserved.
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -69,7 +69,23 @@ typedef struct MultiProc_Config_tag {
     /*!< Local Proc ID. This needs to be set before calling any other APIs */
 } MultiProc_Config;
 
-/* This exported from family/<PLATFORM_DIR>/SystemCfg.c: */
+/* =============================================================================
+ *  APIs
+ * =============================================================================
+ */
+/*!
+ *  @brief     Get the default configuration for the MultiProc module.
+ *
+ *             This function can be called by the application to setup and get
+ *             configuration parameter for MultiProc with the default parameters.
+ *
+ *  @param     cfg        Pointer to the MultiProc module configuration
+ *                        structure in which the default config is to be
+ *                        returned.
+ */
+Void MultiProc_getConfig (MultiProc_Config * cfg);
+
+/* This exported from daemon/MultiProcCfg_<PLATFORM>.c: */
 extern MultiProc_Config _MultiProc_cfg;
 
 #if defined (__cplusplus)
index d935bbbf8d2333241fd5890020966b8610b451e5..7d0f022b5020d653a6d7c134d13163295f965cc5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, Texas Instruments Incorporated
+ * Copyright (c) 2012-2013, Texas Instruments Incorporated
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
 extern "C" {
 #endif
 
-#include "_MultiProc.h"
 #include <ti/ipc/MessageQ.h>
 #include <_MessageQ.h>
 #include <ti/ipc/NameServer.h>
+#include <ti/ipc/MultiProc.h>
+#include <_MultiProc.h>
 
 
 extern Bool logFile;
@@ -112,6 +113,7 @@ typedef enum {
     LAD_MESSAGEQ_CREATE,
     LAD_MESSAGEQ_DELETE,
     LAD_MESSAGEQ_MSGINIT,
+    LAD_MULTIPROC_GETCONFIG,
     LAD_EXIT
 } _LAD_Command;
 
@@ -195,6 +197,10 @@ union LAD_ResponseObj {
        Int status;
        MessageQ_Config cfg;
     } messageQGetConfig;
+    struct {
+       Int status;
+       MultiProc_Config cfg;
+    } multiprocGetConfig;
     NameServer_Params params;
     NameServer_Handle handle;
     Ptr entryPtr;
index d91be3e2f3fd07fc0c83254147376de31195a608..43cfa66143fe946c566cfc5f98ec4f8df5e2e2fd 100644 (file)
@@ -58,6 +58,8 @@
 #include <_MessageQ.h>
 #include <_NameServer.h>
 
+MultiProc_Config _MultiProc_cfg;
+
 static LAD_ClientHandle ladHandle;
 
 static void cleanup(int arg);
@@ -70,6 +72,7 @@ static void cleanup(int arg);
 Int Ipc_start (Void)
 {
     MessageQ_Config   msgqCfg;
+    MultiProc_Config  mpCfg;
     Int32             status = Ipc_S_SUCCESS;
     LAD_Status        ladStatus;
     UInt16            rprocId;
@@ -84,6 +87,10 @@ Int Ipc_start (Void)
         goto exit;
     }
 
+    /* Setup and get MultiProc configuration from LAD */
+    MultiProc_getConfig(&mpCfg);
+    _MultiProc_cfg = mpCfg;
+
     status = NameServer_setup();
     if (status >= 0) {
         MessageQ_getConfig(&msgqCfg);
index 8716ec9706ea14436c7080858f57bc66e1fe9dd0..726c0c56a641d7fba7cd3646176fe56adee66d4b 100644 (file)
@@ -63,6 +63,7 @@ libtiipc_la_SOURCES =    \
                         $(top_srcdir)/packages/ti/ipc/MultiProc.h \
                         $(top_srcdir)/packages/ti/ipc/MessageQ.h \
                         MessageQ.c \
+                        MultiProc.c \
                         NameServer.c \
                         Ipc.c
 
index 9e43bcde7847f900af743c7af7d47d6d945e67bf..44371d8a424a169104ca960bd22df4e8eb273feb 100644 (file)
@@ -57,8 +57,8 @@ libLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(lib_LTLIBRARIES)
 libtiipc_la_LIBADD =
 am__objects_1 =
-am_libtiipc_la_OBJECTS = $(am__objects_1) MessageQ.lo NameServer.lo \
-       Ipc.lo
+am_libtiipc_la_OBJECTS = $(am__objects_1) MessageQ.lo MultiProc.lo \
+       NameServer.lo Ipc.lo
 libtiipc_la_OBJECTS = $(am_libtiipc_la_OBJECTS)
 DEFAULT_INCLUDES = -I. -I$(srcdir)
 depcomp = $(SHELL) $(top_srcdir)/linux/build-aux/depcomp
@@ -224,6 +224,7 @@ libtiipc_la_SOURCES = \
                         $(top_srcdir)/packages/ti/ipc/MultiProc.h \
                         $(top_srcdir)/packages/ti/ipc/MessageQ.h \
                         MessageQ.c \
+                        MultiProc.c \
                         NameServer.c \
                         Ipc.c
 
@@ -301,6 +302,7 @@ distclean-compile:
 
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Ipc.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MessageQ.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MultiProc.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/NameServer.Plo@am__quote@
 
 .c.o:
diff --git a/linux/src/api/MultiProc.c b/linux/src/api/MultiProc.c
new file mode 100644 (file)
index 0000000..cc54b40
--- /dev/null
@@ -0,0 +1,107 @@
+/*
+ * Copyright (c) 2013, Texas Instruments Incorporated
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * *  Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ *
+ * *  Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * *  Neither the name of Texas Instruments Incorporated nor the names of
+ *    its contributors may be used to endorse or promote products derived
+ *    from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+ * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
+ *  @file      MultiProcQ.c
+ *
+ *  @brief     Prototype Mapping of MultiProc to Socket ABI
+ *             (IPC 3).
+ */
+
+/* Standard headers */
+#include <Std.h>
+
+/* Module level headers */
+#include <ti/ipc/MultiProc.h>
+#include <_MultiProc.h>
+
+/* Socket Headers */
+#include <sys/types.h>
+#include <string.h>
+#include <stdio.h>
+#include <unistd.h>
+#include <assert.h>
+
+#include <ladclient.h>
+#include <_lad.h>
+
+static Bool verbose = FALSE;
+
+/* =============================================================================
+ * APIS
+ * =============================================================================
+ */
+/* Function to get default configuration for the MultiProc module.
+ *
+ */
+
+
+Void MultiProc_getConfig (MultiProc_Config * cfg)
+{
+    Int status;
+    LAD_ClientHandle handle;
+    struct LAD_CommandObj cmd;
+    union LAD_ResponseObj rsp;
+
+    assert (cfg != NULL);
+
+    handle = LAD_findHandle();
+    if (handle == LAD_MAXNUMCLIENTS) {
+       PRINTVERBOSE1(
+         "MultiProc_getConfig: can't find connection to daemon for pid %d\n",
+          getpid())
+
+       return;
+    }
+
+    cmd.cmd = LAD_MULTIPROC_GETCONFIG;
+    cmd.clientId = handle;
+
+    if ((status = LAD_putCommand(&cmd)) != LAD_SUCCESS) {
+       PRINTVERBOSE1(
+         "MultiProc_getConfig: sending LAD command failed, status=%d\n", status)
+       return;
+    }
+
+    if ((status = LAD_getResponse(handle, &rsp)) != LAD_SUCCESS) {
+       PRINTVERBOSE1("MultiProc_getConfig: no LAD response, status=%d\n", status)
+       return;
+    }
+    status = rsp.multiprocGetConfig.status;
+
+    PRINTVERBOSE2(
+      "MultiProc_getConfig: got LAD response for client %d, status=%d\n",
+      handle, status)
+
+    memcpy(cfg, &rsp.multiprocGetConfig.cfg, sizeof(*cfg));
+
+    return;
+}
index 20c341317184ed329ee194c5ab47b8f0e70a6e57..5564da5229e3cbbcd3ad3c77914bea17010182b3 100644 (file)
@@ -63,6 +63,7 @@ endif
 common_sources = \
                 lad.c \
                 MessageQ_daemon.c \
+                MultiProc_daemon.c \
                 NameServer_daemon.c \
                 $(top_srcdir)/linux/include/Std.h \
                 $(top_srcdir)/linux/include/_NameServerRemoteRpmsg.h \
@@ -78,26 +79,22 @@ common_sources = \
                 $(top_srcdir)/packages/ti/ipc/MultiProc.h
 
 # list of sources for the 'lad' binary and to add to the source distribution
-lad_omap54xx_smp_SOURCES = $(common_sources)
-lad_omapl138_SOURCES = $(common_sources)
-lad_tci6614_SOURCES = $(common_sources)
-lad_tci6638_SOURCES = $(common_sources)
+lad_omap54xx_smp_SOURCES = $(common_sources) MultiProcCfg_omap54xx_smp.c
+lad_omapl138_SOURCES = $(common_sources) MultiProcCfg_omapl138.c
+lad_tci6614_SOURCES = $(common_sources) MultiProcCfg_tci6614.c
+lad_tci6638_SOURCES = $(common_sources) MultiProcCfg_tci6638.c
 
 common_libraries = -lpthread $(top_builddir)/linux/src/api/libtiipc.la \
                 $(top_builddir)/linux/src/utils/libtiipcutils.la
 
 # the additional libraries needed to link program
 lad_omap54xx_smp_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omap54xx_smp.la \
                 $(AM_LDFLAGS)
 lad_omapl138_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
                 $(AM_LDFLAGS)
 lad_tci6614_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6614.la \
                 $(AM_LDFLAGS)
 lad_tci6638_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6638.la \
                 $(AM_LDFLAGS)
 
 ###############################################################################
index 4b2f94891091f0623c9671ae764507c0bfe016b1..6df7d972d0e4e53da7a779502c1ea6270404cc0e 100644 (file)
@@ -64,30 +64,28 @@ am__installdirs = "$(DESTDIR)$(bindir)"
 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
 PROGRAMS = $(bin_PROGRAMS)
 am__objects_1 = lad.$(OBJEXT) MessageQ_daemon.$(OBJEXT) \
-       NameServer_daemon.$(OBJEXT)
-am_lad_omap54xx_smp_OBJECTS = $(am__objects_1)
+       MultiProc_daemon.$(OBJEXT) NameServer_daemon.$(OBJEXT)
+am_lad_omap54xx_smp_OBJECTS = $(am__objects_1) \
+       MultiProcCfg_omap54xx_smp.$(OBJEXT)
 lad_omap54xx_smp_OBJECTS = $(am_lad_omap54xx_smp_OBJECTS)
 am__DEPENDENCIES_1 = $(top_builddir)/linux/src/api/libtiipc.la \
        $(top_builddir)/linux/src/utils/libtiipcutils.la
 am__DEPENDENCIES_2 =
 lad_omap54xx_smp_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_omap54xx_smp.la \
        $(am__DEPENDENCIES_2)
-am_lad_omapl138_OBJECTS = $(am__objects_1)
+am_lad_omapl138_OBJECTS = $(am__objects_1) \
+       MultiProcCfg_omapl138.$(OBJEXT)
 lad_omapl138_OBJECTS = $(am_lad_omapl138_OBJECTS)
 lad_omapl138_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
        $(am__DEPENDENCIES_2)
-am_lad_tci6614_OBJECTS = $(am__objects_1)
+am_lad_tci6614_OBJECTS = $(am__objects_1) \
+       MultiProcCfg_tci6614.$(OBJEXT)
 lad_tci6614_OBJECTS = $(am_lad_tci6614_OBJECTS)
-lad_tci6614_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_tci6614.la \
-       $(am__DEPENDENCIES_2)
-am_lad_tci6638_OBJECTS = $(am__objects_1)
+lad_tci6614_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
+am_lad_tci6638_OBJECTS = $(am__objects_1) \
+       MultiProcCfg_tci6638.$(OBJEXT)
 lad_tci6638_OBJECTS = $(am_lad_tci6638_OBJECTS)
-lad_tci6638_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_tci6638.la \
-       $(am__DEPENDENCIES_2)
+lad_tci6638_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
 DEFAULT_INCLUDES = -I. -I$(srcdir)
 depcomp = $(SHELL) $(top_srcdir)/linux/build-aux/depcomp
 am__depfiles_maybe = depfiles
@@ -226,6 +224,7 @@ target_alias = @target_alias@
 common_sources = \
                 lad.c \
                 MessageQ_daemon.c \
+                MultiProc_daemon.c \
                 NameServer_daemon.c \
                 $(top_srcdir)/linux/include/Std.h \
                 $(top_srcdir)/linux/include/_NameServerRemoteRpmsg.h \
@@ -242,29 +241,25 @@ common_sources = \
 
 
 # list of sources for the 'lad' binary and to add to the source distribution
-lad_omap54xx_smp_SOURCES = $(common_sources)
-lad_omapl138_SOURCES = $(common_sources)
-lad_tci6614_SOURCES = $(common_sources)
-lad_tci6638_SOURCES = $(common_sources)
+lad_omap54xx_smp_SOURCES = $(common_sources) MultiProcCfg_omap54xx_smp.c
+lad_omapl138_SOURCES = $(common_sources) MultiProcCfg_omapl138.c
+lad_tci6614_SOURCES = $(common_sources) MultiProcCfg_tci6614.c
+lad_tci6638_SOURCES = $(common_sources) MultiProcCfg_tci6638.c
 common_libraries = -lpthread $(top_builddir)/linux/src/api/libtiipc.la \
                 $(top_builddir)/linux/src/utils/libtiipcutils.la
 
 
 # the additional libraries needed to link program
 lad_omap54xx_smp_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omap54xx_smp.la \
                 $(AM_LDFLAGS)
 
 lad_omapl138_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
                 $(AM_LDFLAGS)
 
 lad_tci6614_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6614.la \
                 $(AM_LDFLAGS)
 
 lad_tci6638_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6638.la \
                 $(AM_LDFLAGS)
 
 all: all-am
@@ -348,6 +343,11 @@ distclean-compile:
        -rm -f *.tab.c
 
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MessageQ_daemon.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MultiProcCfg_omap54xx_smp.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MultiProcCfg_omapl138.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MultiProcCfg_tci6614.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MultiProcCfg_tci6638.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/MultiProc_daemon.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/NameServer_daemon.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lad.Po@am__quote@
 
similarity index 96%
rename from linux/src/family/SystemCfg_omap54xx_smp.c
rename to linux/src/daemon/MultiProcCfg_omap54xx_smp.c
index 1bd56a48c7102696df157fcd1bd0479ba98691e9..37b1cdb6c4adae825e783b4bcd864ce7f8de137b 100644 (file)
@@ -30,8 +30,8 @@
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 /*
- * ========SystemCfg.c ========
- * System-wide configuration
+ * ======== MultiProcCfg.c ========
+ * System-wide MultiProc configuration
  */
 
 /* Standard headers */
similarity index 93%
rename from linux/src/family/SystemCfg_omapl138.c
rename to linux/src/daemon/MultiProcCfg_omapl138.c
index 65f89c57cfc27c7b413394aff1ee5c801a99824f..2b430cdcf84166e080b0dfd2cba9bc8d1f895afe 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, Texas Instruments Incorporated
+ * Copyright (c) 2012-2013, Texas Instruments Incorporated
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -30,8 +30,8 @@
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 /*
- * ========SystemCfg.c ========
- * System-wide configuration
+ * ======== MultiProcCfg.c ========
+ * System-wide MultiProc configuration
  */
 
 /* Standard headers */
similarity index 96%
rename from linux/src/family/SystemCfg_tci6614.c
rename to linux/src/daemon/MultiProcCfg_tci6614.c
index cf43919fc19110bac615b87d2e69b0b437fce915..8ffd78d93b0813d14697d98659920b21613663ac 100644 (file)
@@ -30,8 +30,8 @@
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 /*
- * ========SystemCfg.c ========
- * System-wide configuration
+ * ======== MultiProcCfg.c ========
+ * System-wide MultiProc configuration
  */
 
 /* Standard headers */
similarity index 96%
rename from linux/src/family/SystemCfg_tci6638.c
rename to linux/src/daemon/MultiProcCfg_tci6638.c
index 1e4459eedcd98b51dc365adffd375591d319c45b..0b7375e6e44d4ecd5bdaca64a534f0e1345e4c27 100644 (file)
@@ -30,8 +30,8 @@
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 /*
- * ========SystemCfg.c ========
- * System-wide configuration for Kepler
+ * ======== MultiProcCfg.c ========
+ * System-wide MultiProc configuration
  */
 
 /* Standard headers */
similarity index 68%
rename from linux/src/family/SystemCfg_omap4430.c
rename to linux/src/daemon/MultiProc_daemon.c
index f013e19b557b36c41d5ff073ee894843cf6af0e9..55cbb10c8e346bd1004225f0a44cc33328d061be 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, Texas Instruments Incorporated
+ * Copyright (c) 2013, Texas Instruments Incorporated
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
-/*
- * ========SystemCfg.c ========
- * System-wide configuration
+/*!
+ *  @file      MultiProc_daemon.c
+ *
+ *  @brief     Handles processor id management in multi processor systems. Used
+ *             to set/get processor ids for their oprations.
+ *
  */
 
+
 /* Standard headers */
 #include <Std.h>
 
-/* For Backplane IPC startup/shutdown stuff: */
+/* Linux specific header files */
+#include <assert.h>
+#include <string.h>
+
+/* Module level headers */
+#include <ti/ipc/MultiProc.h>
 #include <_MultiProc.h>
 
-/* This must match BIOS side MultiProc configuration for given platform!: */
-MultiProc_Config _MultiProc_cfg =  {
-   .numProcessors = 2,
-   .nameList[0] = "HOST",
-   .nameList[1] = "CORE0",
-   .id = 0,                 /* The host is always zero */
-};
+
+/* =============================================================================
+ *  APIs
+ * =============================================================================
+ */
+/* Get the default configuration for the MultiProc module. */
+Void MultiProc_getConfig (MultiProc_Config * cfg)
+{
+
+    assert (cfg != NULL);
+
+    /* Setup MultiProc config */
+    memcpy (cfg, &_MultiProc_cfg, sizeof(MultiProc_Config));
+}
index 47c2083e77ee87f6e9044aec836edfc71531834a..902629d8714d4d73a93496f9812e150f8f2c633a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, Texas Instruments Incorporated
+ * Copyright (c) 2012-2013, Texas Instruments Incorporated
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -451,6 +451,17 @@ opencommandFIFO:
 
             break;
 
+          case LAD_MULTIPROC_GETCONFIG:
+            LOG0("LAD_MULTIPROC_GETCONFIG: calling MultiProc_getConfig()...\n")
+
+            MultiProc_getConfig(&rsp.multiprocGetConfig.cfg);
+            rsp.multiprocGetConfig.status = 0;
+
+            LOG1("    status = %d\n", rsp.multiprocGetConfig.status)
+            LOG0("DONE\n")
+
+            break;
+
           case LAD_EXIT:
             goto exitNow;
 
@@ -482,6 +493,7 @@ opencommandFIFO:
           case LAD_MESSAGEQ_CREATE:
           case LAD_MESSAGEQ_DELETE:
           case LAD_MESSAGEQ_MSGINIT:
+          case LAD_MULTIPROC_GETCONFIG:
             LOG0("Sending response...\n");
 
             fwrite(&rsp, LAD_RESPONSELENGTH, 1, responseFIFOFilePtr[clientId]);
diff --git a/linux/src/family/Makefile.am b/linux/src/family/Makefile.am
deleted file mode 100644 (file)
index b639ce7..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-##
-##  Copyright (c) 2013, Texas Instruments Incorporated
-##
-##  Redistribution and use in source and binary forms, with or without
-##  modification, are permitted provided that the following conditions
-##  are met:
-##
-##  *  Redistributions of source code must retain the above copyright
-##     notice, this list of conditions and the following disclaimer.
-##
-##  *  Redistributions in binary form must reproduce the above copyright
-##     notice, this list of conditions and the following disclaimer in the
-##     documentation and/or other materials provided with the distribution.
-##
-##  *  Neither the name of Texas Instruments Incorporated nor the names of
-##     its contributors may be used to endorse or promote products derived
-##     from this software without specific prior written permission.
-##
-##  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-##  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
-##  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-##  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-##  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-##  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-##  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-##  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-##  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-##  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-##
-## ======== src/family/Makefile.am ========
-##
-
-# additional include paths necessary to compile the library
-AM_CFLAGS = -I$(top_srcdir)/linux/include -D_GNU_SOURCE -Wall @AM_CFLAGS@
-
-###############################################################################
-# THE LIBRARIES TO BUILD
-###############################################################################
-
-# the library names to build (note we are building shared libs)
-lib_LTLIBRARIES =
-
-if OMAP54XX_SMP
-  lib_LTLIBRARIES += libtiipccfg_omap54xx_smp.la
-else 
-if OMAPL138
-  lib_LTLIBRARIES += libtiipccfg_omapl138.la
-else 
-if TCI6614
-  lib_LTLIBRARIES += libtiipccfg_tci6614.la
-else 
-if TCI6638
-  lib_LTLIBRARIES += libtiipccfg_tci6638.la
-else 
-  lib_LTLIBRARIES += \
-                libtiipccfg_omap54xx_smp.la libtiipccfg_omapl138.la \
-                libtiipccfg_tci6614.la libtiipccfg_tci6638.la
-endif
-endif
-endif
-endif
-
-common_install_headers = $(top_srcdir)/linux/include/Std.h
-
-common_sources = $(top_srcdir)/linux/include/_MultiProc.h
-
-# where to install the headers on the system
-libtiipccfg_omap54xx_smp_ladir = $(includedir)
-libtiipccfg_omapl138_ladir = $(includedir)
-libtiipccfg_tci6614_ladir = $(includedir)
-libtiipccfg_tci6638_ladir = $(includedir)
-
-# the list of header files that belong to the library (to be installed later)
-libtiipccfg_omap54xx_smp_la_HEADERS =  \
-                        $(common_install_headers)
-
-libtiipccfg_omapl138_la_HEADERS =      \
-                        $(common_install_headers)
-
-libtiipccfg_tci6614_la_HEADERS =       \
-                        $(common_install_headers)
-
-libtiipccfg_tci6638_la_HEADERS =       \
-                        $(common_install_headers)
-
-# the sources to add to the library and to add to the source distribution
-libtiipccfg_omap54xx_smp_la_SOURCES =  \
-                        $(libtiipccfg_omap54xx_smp_la_HEADERS) \
-                        $(common_sources) \
-                        SystemCfg_omap54xx_smp.c
-
-libtiipccfg_omapl138_la_SOURCES =      \
-                        $(libtiipccfg_omapl138_la_HEADERS) \
-                        $(common_sources) \
-                        SystemCfg_omapl138.c
-
-libtiipccfg_tci6614_la_SOURCES =       \
-                        $(libtiipccfg_tci6614_la_HEADERS) \
-                        $(common_sources) \
-                        SystemCfg_tci6614.c
-
-libtiipccfg_tci6638_la_SOURCES =       \
-                        $(libtiipccfg_tci6638_la_HEADERS) \
-                        $(common_sources) \
-                        SystemCfg_tci6638.c
-
-# Add version info to the shared library
-libtiipccfg_omap54xx_smp_la_LDFLAGS = -version-info 1:0:0
-libtiipccfg_omapl138_la_LDFLAGS = -version-info 1:0:0
-libtiipccfg_tci6614_la_LDFLAGS = -version-info 1:0:0
-libtiipccfg_tci6638_la_LDFLAGS = -version-info 1:0:0
-
-###############################################################################
diff --git a/linux/src/family/Makefile.in b/linux/src/family/Makefile.in
deleted file mode 100644 (file)
index 4a9fb0b..0000000
+++ /dev/null
@@ -1,682 +0,0 @@
-# Makefile.in generated by automake 1.9.6 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005  Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-top_builddir = ../../..
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-INSTALL = @INSTALL@
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-@OMAP54XX_SMP_TRUE@am__append_1 = libtiipccfg_omap54xx_smp.la
-@OMAP54XX_SMP_FALSE@@OMAPL138_TRUE@am__append_2 = libtiipccfg_omapl138.la
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_TRUE@am__append_3 = libtiipccfg_tci6614.la
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_FALSE@@TCI6638_TRUE@am__append_4 = libtiipccfg_tci6638.la
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_FALSE@@TCI6638_FALSE@am__append_5 = \
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_FALSE@@TCI6638_FALSE@                libtiipccfg_omap54xx_smp.la libtiipccfg_omapl138.la \
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_FALSE@@TCI6638_FALSE@                libtiipccfg_tci6614.la libtiipccfg_tci6638.la
-
-subdir = linux/src/family
-DIST_COMMON = $(libtiipccfg_omap54xx_smp_la_HEADERS) \
-       $(libtiipccfg_omapl138_la_HEADERS) \
-       $(libtiipccfg_tci6614_la_HEADERS) \
-       $(libtiipccfg_tci6638_la_HEADERS) $(srcdir)/Makefile.am \
-       $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-       $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_CLEAN_FILES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
-am__installdirs = "$(DESTDIR)$(libdir)" \
-       "$(DESTDIR)$(libtiipccfg_omap54xx_smp_ladir)" \
-       "$(DESTDIR)$(libtiipccfg_omapl138_ladir)" \
-       "$(DESTDIR)$(libtiipccfg_tci6614_ladir)" \
-       "$(DESTDIR)$(libtiipccfg_tci6638_ladir)"
-libLTLIBRARIES_INSTALL = $(INSTALL)
-LTLIBRARIES = $(lib_LTLIBRARIES)
-libtiipccfg_omap54xx_smp_la_LIBADD =
-am__objects_1 =
-am__objects_2 = $(am__objects_1)
-am_libtiipccfg_omap54xx_smp_la_OBJECTS = $(am__objects_2) \
-       $(am__objects_1) SystemCfg_omap54xx_smp.lo
-libtiipccfg_omap54xx_smp_la_OBJECTS =  \
-       $(am_libtiipccfg_omap54xx_smp_la_OBJECTS)
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_FALSE@@TCI6638_FALSE@am_libtiipccfg_omap54xx_smp_la_rpath = -rpath \
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_FALSE@@TCI6638_FALSE@     $(libdir)
-@OMAP54XX_SMP_TRUE@am_libtiipccfg_omap54xx_smp_la_rpath = -rpath \
-@OMAP54XX_SMP_TRUE@    $(libdir)
-libtiipccfg_omapl138_la_LIBADD =
-am_libtiipccfg_omapl138_la_OBJECTS = $(am__objects_2) $(am__objects_1) \
-       SystemCfg_omapl138.lo
-libtiipccfg_omapl138_la_OBJECTS =  \
-       $(am_libtiipccfg_omapl138_la_OBJECTS)
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_FALSE@@TCI6638_FALSE@am_libtiipccfg_omapl138_la_rpath = -rpath \
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_FALSE@@TCI6638_FALSE@     $(libdir)
-@OMAP54XX_SMP_FALSE@@OMAPL138_TRUE@am_libtiipccfg_omapl138_la_rpath =  \
-@OMAP54XX_SMP_FALSE@@OMAPL138_TRUE@    -rpath $(libdir)
-libtiipccfg_tci6614_la_LIBADD =
-am_libtiipccfg_tci6614_la_OBJECTS = $(am__objects_2) $(am__objects_1) \
-       SystemCfg_tci6614.lo
-libtiipccfg_tci6614_la_OBJECTS = $(am_libtiipccfg_tci6614_la_OBJECTS)
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_FALSE@@TCI6638_FALSE@am_libtiipccfg_tci6614_la_rpath = -rpath \
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_FALSE@@TCI6638_FALSE@     $(libdir)
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_TRUE@am_libtiipccfg_tci6614_la_rpath =  \
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_TRUE@     -rpath \
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_TRUE@     $(libdir)
-libtiipccfg_tci6638_la_LIBADD =
-am_libtiipccfg_tci6638_la_OBJECTS = $(am__objects_2) $(am__objects_1) \
-       SystemCfg_tci6638.lo
-libtiipccfg_tci6638_la_OBJECTS = $(am_libtiipccfg_tci6638_la_OBJECTS)
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_FALSE@@TCI6638_FALSE@am_libtiipccfg_tci6638_la_rpath = -rpath \
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_FALSE@@TCI6638_FALSE@     $(libdir)
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_FALSE@@TCI6638_TRUE@am_libtiipccfg_tci6638_la_rpath = -rpath \
-@OMAP54XX_SMP_FALSE@@OMAPL138_FALSE@@TCI6614_FALSE@@TCI6638_TRUE@      $(libdir)
-DEFAULT_INCLUDES = -I. -I$(srcdir)
-depcomp = $(SHELL) $(top_srcdir)/linux/build-aux/depcomp
-am__depfiles_maybe = depfiles
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
-       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-       $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-       $(AM_LDFLAGS) $(LDFLAGS) -o $@
-SOURCES = $(libtiipccfg_omap54xx_smp_la_SOURCES) \
-       $(libtiipccfg_omapl138_la_SOURCES) \
-       $(libtiipccfg_tci6614_la_SOURCES) \
-       $(libtiipccfg_tci6638_la_SOURCES)
-DIST_SOURCES = $(libtiipccfg_omap54xx_smp_la_SOURCES) \
-       $(libtiipccfg_omapl138_la_SOURCES) \
-       $(libtiipccfg_tci6614_la_SOURCES) \
-       $(libtiipccfg_tci6638_la_SOURCES)
-libtiipccfg_omap54xx_smp_laHEADERS_INSTALL = $(INSTALL_HEADER)
-libtiipccfg_omapl138_laHEADERS_INSTALL = $(INSTALL_HEADER)
-libtiipccfg_tci6614_laHEADERS_INSTALL = $(INSTALL_HEADER)
-libtiipccfg_tci6638_laHEADERS_INSTALL = $(INSTALL_HEADER)
-HEADERS = $(libtiipccfg_omap54xx_smp_la_HEADERS) \
-       $(libtiipccfg_omapl138_la_HEADERS) \
-       $(libtiipccfg_tci6614_la_HEADERS) \
-       $(libtiipccfg_tci6638_la_HEADERS)
-ETAGS = etags
-CTAGS = ctags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-AMDEP_FALSE = @AMDEP_FALSE@
-AMDEP_TRUE = @AMDEP_TRUE@
-AMTAR = @AMTAR@
-
-# additional include paths necessary to compile the library
-AM_CFLAGS = -I$(top_srcdir)/linux/include -D_GNU_SOURCE -Wall @AM_CFLAGS@
-AM_LDFLAGS = @AM_LDFLAGS@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
-CMEM_FALSE = @CMEM_FALSE@
-CMEM_INSTALL_DIR = @CMEM_INSTALL_DIR@
-CMEM_TRUE = @CMEM_TRUE@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CXX = @CXX@
-CXXCPP = @CXXCPP@
-CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-ECHO = @ECHO@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-KDIR_FALSE = @KDIR_FALSE@
-KDIR_TRUE = @KDIR_TRUE@
-KERNEL_INSTALL_DIR = @KERNEL_INSTALL_DIR@
-LDFLAGS = @LDFLAGS@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
-MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
-MAKEINFO = @MAKEINFO@
-OBJEXT = @OBJEXT@
-OMAP54XX_SMP_FALSE = @OMAP54XX_SMP_FALSE@
-OMAP54XX_SMP_TRUE = @OMAP54XX_SMP_TRUE@
-OMAPL138_FALSE = @OMAPL138_FALSE@
-OMAPL138_TRUE = @OMAPL138_TRUE@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PLATFORM = @PLATFORM@
-RANLIB = @RANLIB@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-TCI6614_FALSE = @TCI6614_FALSE@
-TCI6614_TRUE = @TCI6614_TRUE@
-TCI6638_FALSE = @TCI6638_FALSE@
-TCI6638_TRUE = @TCI6638_TRUE@
-VERSION = @VERSION@
-ac_ct_AR = @ac_ct_AR@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_CXX = @ac_ct_CXX@
-ac_ct_RANLIB = @ac_ct_RANLIB@
-ac_ct_STRIP = @ac_ct_STRIP@
-am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
-am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
-am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
-am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-datadir = @datadir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-
-###############################################################################
-# THE LIBRARIES TO BUILD
-###############################################################################
-
-# the library names to build (note we are building shared libs)
-lib_LTLIBRARIES = $(am__append_1) $(am__append_2) $(am__append_3) \
-       $(am__append_4) $(am__append_5)
-common_install_headers = $(top_srcdir)/linux/include/Std.h
-common_sources = $(top_srcdir)/linux/include/_MultiProc.h
-
-# where to install the headers on the system
-libtiipccfg_omap54xx_smp_ladir = $(includedir)
-libtiipccfg_omapl138_ladir = $(includedir)
-libtiipccfg_tci6614_ladir = $(includedir)
-libtiipccfg_tci6638_ladir = $(includedir)
-
-# the list of header files that belong to the library (to be installed later)
-libtiipccfg_omap54xx_smp_la_HEADERS = \
-                        $(common_install_headers)
-
-libtiipccfg_omapl138_la_HEADERS = \
-                        $(common_install_headers)
-
-libtiipccfg_tci6614_la_HEADERS = \
-                        $(common_install_headers)
-
-libtiipccfg_tci6638_la_HEADERS = \
-                        $(common_install_headers)
-
-
-# the sources to add to the library and to add to the source distribution
-libtiipccfg_omap54xx_smp_la_SOURCES = \
-                        $(libtiipccfg_omap54xx_smp_la_HEADERS) \
-                        $(common_sources) \
-                        SystemCfg_omap54xx_smp.c
-
-libtiipccfg_omapl138_la_SOURCES = \
-                        $(libtiipccfg_omapl138_la_HEADERS) \
-                        $(common_sources) \
-                        SystemCfg_omapl138.c
-
-libtiipccfg_tci6614_la_SOURCES = \
-                        $(libtiipccfg_tci6614_la_HEADERS) \
-                        $(common_sources) \
-                        SystemCfg_tci6614.c
-
-libtiipccfg_tci6638_la_SOURCES = \
-                        $(libtiipccfg_tci6638_la_HEADERS) \
-                        $(common_sources) \
-                        SystemCfg_tci6638.c
-
-
-# Add version info to the shared library
-libtiipccfg_omap54xx_smp_la_LDFLAGS = -version-info 1:0:0
-libtiipccfg_omapl138_la_LDFLAGS = -version-info 1:0:0
-libtiipccfg_tci6614_la_LDFLAGS = -version-info 1:0:0
-libtiipccfg_tci6638_la_LDFLAGS = -version-info 1:0:0
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
-       @for dep in $?; do \
-         case '$(am__configure_deps)' in \
-           *$$dep*) \
-             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
-               && exit 0; \
-             exit 1;; \
-         esac; \
-       done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  linux/src/family/Makefile'; \
-       cd $(top_srcdir) && \
-         $(AUTOMAKE) --foreign  linux/src/family/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-       @case '$?' in \
-         *config.status*) \
-           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-         *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-       esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-install-libLTLIBRARIES: $(lib_LTLIBRARIES)
-       @$(NORMAL_INSTALL)
-       test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
-       @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
-         if test -f $$p; then \
-           f=$(am__strip_dir) \
-           echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
-           $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
-         else :; fi; \
-       done
-
-uninstall-libLTLIBRARIES:
-       @$(NORMAL_UNINSTALL)
-       @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
-         p=$(am__strip_dir) \
-         echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
-         $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
-       done
-
-clean-libLTLIBRARIES:
-       -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
-       @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
-         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test "$$dir" != "$$p" || dir=.; \
-         echo "rm -f \"$${dir}/so_locations\""; \
-         rm -f "$${dir}/so_locations"; \
-       done
-libtiipccfg_omap54xx_smp.la: $(libtiipccfg_omap54xx_smp_la_OBJECTS) $(libtiipccfg_omap54xx_smp_la_DEPENDENCIES) 
-       $(LINK) $(am_libtiipccfg_omap54xx_smp_la_rpath) $(libtiipccfg_omap54xx_smp_la_LDFLAGS) $(libtiipccfg_omap54xx_smp_la_OBJECTS) $(libtiipccfg_omap54xx_smp_la_LIBADD) $(LIBS)
-libtiipccfg_omapl138.la: $(libtiipccfg_omapl138_la_OBJECTS) $(libtiipccfg_omapl138_la_DEPENDENCIES) 
-       $(LINK) $(am_libtiipccfg_omapl138_la_rpath) $(libtiipccfg_omapl138_la_LDFLAGS) $(libtiipccfg_omapl138_la_OBJECTS) $(libtiipccfg_omapl138_la_LIBADD) $(LIBS)
-libtiipccfg_tci6614.la: $(libtiipccfg_tci6614_la_OBJECTS) $(libtiipccfg_tci6614_la_DEPENDENCIES) 
-       $(LINK) $(am_libtiipccfg_tci6614_la_rpath) $(libtiipccfg_tci6614_la_LDFLAGS) $(libtiipccfg_tci6614_la_OBJECTS) $(libtiipccfg_tci6614_la_LIBADD) $(LIBS)
-libtiipccfg_tci6638.la: $(libtiipccfg_tci6638_la_OBJECTS) $(libtiipccfg_tci6638_la_DEPENDENCIES) 
-       $(LINK) $(am_libtiipccfg_tci6638_la_rpath) $(libtiipccfg_tci6638_la_LDFLAGS) $(libtiipccfg_tci6638_la_OBJECTS) $(libtiipccfg_tci6638_la_LIBADD) $(LIBS)
-
-mostlyclean-compile:
-       -rm -f *.$(OBJEXT)
-
-distclean-compile:
-       -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SystemCfg_omap54xx_smp.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SystemCfg_omapl138.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SystemCfg_tci6614.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SystemCfg_tci6638.Plo@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@   if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
-@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(COMPILE) -c $<
-
-.c.obj:
-@am__fastdepCC_TRUE@   if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
-@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-.c.lo:
-@am__fastdepCC_TRUE@   if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
-@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
-
-mostlyclean-libtool:
-       -rm -f *.lo
-
-clean-libtool:
-       -rm -rf .libs _libs
-
-distclean-libtool:
-       -rm -f libtool
-uninstall-info-am:
-install-libtiipccfg_omap54xx_smp_laHEADERS: $(libtiipccfg_omap54xx_smp_la_HEADERS)
-       @$(NORMAL_INSTALL)
-       test -z "$(libtiipccfg_omap54xx_smp_ladir)" || $(mkdir_p) "$(DESTDIR)$(libtiipccfg_omap54xx_smp_ladir)"
-       @list='$(libtiipccfg_omap54xx_smp_la_HEADERS)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libtiipccfg_omap54xx_smp_laHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libtiipccfg_omap54xx_smp_ladir)/$$f'"; \
-         $(libtiipccfg_omap54xx_smp_laHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libtiipccfg_omap54xx_smp_ladir)/$$f"; \
-       done
-
-uninstall-libtiipccfg_omap54xx_smp_laHEADERS:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libtiipccfg_omap54xx_smp_la_HEADERS)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libtiipccfg_omap54xx_smp_ladir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libtiipccfg_omap54xx_smp_ladir)/$$f"; \
-       done
-install-libtiipccfg_omapl138_laHEADERS: $(libtiipccfg_omapl138_la_HEADERS)
-       @$(NORMAL_INSTALL)
-       test -z "$(libtiipccfg_omapl138_ladir)" || $(mkdir_p) "$(DESTDIR)$(libtiipccfg_omapl138_ladir)"
-       @list='$(libtiipccfg_omapl138_la_HEADERS)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libtiipccfg_omapl138_laHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libtiipccfg_omapl138_ladir)/$$f'"; \
-         $(libtiipccfg_omapl138_laHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libtiipccfg_omapl138_ladir)/$$f"; \
-       done
-
-uninstall-libtiipccfg_omapl138_laHEADERS:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libtiipccfg_omapl138_la_HEADERS)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libtiipccfg_omapl138_ladir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libtiipccfg_omapl138_ladir)/$$f"; \
-       done
-install-libtiipccfg_tci6614_laHEADERS: $(libtiipccfg_tci6614_la_HEADERS)
-       @$(NORMAL_INSTALL)
-       test -z "$(libtiipccfg_tci6614_ladir)" || $(mkdir_p) "$(DESTDIR)$(libtiipccfg_tci6614_ladir)"
-       @list='$(libtiipccfg_tci6614_la_HEADERS)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libtiipccfg_tci6614_laHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libtiipccfg_tci6614_ladir)/$$f'"; \
-         $(libtiipccfg_tci6614_laHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libtiipccfg_tci6614_ladir)/$$f"; \
-       done
-
-uninstall-libtiipccfg_tci6614_laHEADERS:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libtiipccfg_tci6614_la_HEADERS)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libtiipccfg_tci6614_ladir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libtiipccfg_tci6614_ladir)/$$f"; \
-       done
-install-libtiipccfg_tci6638_laHEADERS: $(libtiipccfg_tci6638_la_HEADERS)
-       @$(NORMAL_INSTALL)
-       test -z "$(libtiipccfg_tci6638_ladir)" || $(mkdir_p) "$(DESTDIR)$(libtiipccfg_tci6638_ladir)"
-       @list='$(libtiipccfg_tci6638_la_HEADERS)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-         f=$(am__strip_dir) \
-         echo " $(libtiipccfg_tci6638_laHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libtiipccfg_tci6638_ladir)/$$f'"; \
-         $(libtiipccfg_tci6638_laHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libtiipccfg_tci6638_ladir)/$$f"; \
-       done
-
-uninstall-libtiipccfg_tci6638_laHEADERS:
-       @$(NORMAL_UNINSTALL)
-       @list='$(libtiipccfg_tci6638_la_HEADERS)'; for p in $$list; do \
-         f=$(am__strip_dir) \
-         echo " rm -f '$(DESTDIR)$(libtiipccfg_tci6638_ladir)/$$f'"; \
-         rm -f "$(DESTDIR)$(libtiipccfg_tci6638_ladir)/$$f"; \
-       done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '    { files[$$0] = 1; } \
-              END { for (i in files) print i; }'`; \
-       mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       tags=; \
-       here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '    { files[$$0] = 1; } \
-              END { for (i in files) print i; }'`; \
-       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
-         test -n "$$unique" || unique=$$empty_fix; \
-         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-           $$tags $$unique; \
-       fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-               $(TAGS_FILES) $(LISP)
-       tags=; \
-       here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-       unique=`for i in $$list; do \
-           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-         done | \
-         $(AWK) '    { files[$$0] = 1; } \
-              END { for (i in files) print i; }'`; \
-       test -z "$(CTAGS_ARGS)$$tags$$unique" \
-         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-            $$tags $$unique
-
-GTAGS:
-       here=`$(am__cd) $(top_builddir) && pwd` \
-         && cd $(top_srcdir) \
-         && gtags -i $(GTAGS_ARGS) $$here
-
-distclean-tags:
-       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-       $(mkdir_p) $(distdir)/../../../linux/include
-       @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
-       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
-       list='$(DISTFILES)'; for file in $$list; do \
-         case $$file in \
-           $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
-           $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
-         esac; \
-         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-         dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
-         if test "$$dir" != "$$file" && test "$$dir" != "."; then \
-           dir="/$$dir"; \
-           $(mkdir_p) "$(distdir)$$dir"; \
-         else \
-           dir=''; \
-         fi; \
-         if test -d $$d/$$file; then \
-           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
-           fi; \
-           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
-         else \
-           test -f $(distdir)/$$file \
-           || cp -p $$d/$$file $(distdir)/$$file \
-           || exit 1; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-all-am: Makefile $(LTLIBRARIES) $(HEADERS)
-installdirs:
-       for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libtiipccfg_omap54xx_smp_ladir)" "$(DESTDIR)$(libtiipccfg_omapl138_ladir)" "$(DESTDIR)$(libtiipccfg_tci6614_ladir)" "$(DESTDIR)$(libtiipccfg_tci6638_ladir)"; do \
-         test -z "$$dir" || $(mkdir_p) "$$dir"; \
-       done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-         install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-         `test -z '$(STRIP)' || \
-           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-
-maintainer-clean-generic:
-       @echo "This command is intended for maintainers to use"
-       @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
-       mostlyclean-am
-
-distclean: distclean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
-       distclean-libtool distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-info: info-am
-
-info-am:
-
-install-data-am: install-libtiipccfg_omap54xx_smp_laHEADERS \
-       install-libtiipccfg_omapl138_laHEADERS \
-       install-libtiipccfg_tci6614_laHEADERS \
-       install-libtiipccfg_tci6638_laHEADERS
-
-install-exec-am: install-libLTLIBRARIES
-
-install-info: install-info-am
-
-install-man:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-       -rm -rf ./$(DEPDIR)
-       -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic \
-       mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
-       uninstall-libtiipccfg_omap54xx_smp_laHEADERS \
-       uninstall-libtiipccfg_omapl138_laHEADERS \
-       uninstall-libtiipccfg_tci6614_laHEADERS \
-       uninstall-libtiipccfg_tci6638_laHEADERS
-
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
-       clean-libLTLIBRARIES clean-libtool ctags distclean \
-       distclean-compile distclean-generic distclean-libtool \
-       distclean-tags distdir dvi dvi-am html html-am info info-am \
-       install install-am install-data install-data-am install-exec \
-       install-exec-am install-info install-info-am \
-       install-libLTLIBRARIES \
-       install-libtiipccfg_omap54xx_smp_laHEADERS \
-       install-libtiipccfg_omapl138_laHEADERS \
-       install-libtiipccfg_tci6614_laHEADERS \
-       install-libtiipccfg_tci6638_laHEADERS install-man \
-       install-strip installcheck installcheck-am installdirs \
-       maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
-       pdf pdf-am ps ps-am tags uninstall uninstall-am \
-       uninstall-info-am uninstall-libLTLIBRARIES \
-       uninstall-libtiipccfg_omap54xx_smp_laHEADERS \
-       uninstall-libtiipccfg_omapl138_laHEADERS \
-       uninstall-libtiipccfg_tci6614_laHEADERS \
-       uninstall-libtiipccfg_tci6638_laHEADERS
-
-
-###############################################################################
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
index b12c3fadedbd559f156f9ddb03f8c80206e79a26..f78b91a815916c333a21302cca024cb52ff7824b 100644 (file)
@@ -137,63 +137,46 @@ mmrpc_test_LDADD = $(top_builddir)/linux/src/mm/libmmrpc.la
 
 # the additional libraries needed to link MessageQApp
 MessageQApp_omap54xx_smp_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omap54xx_smp.la \
                 $(AM_LDFLAGS)
 MessageQApp_omapl138_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
                 $(AM_LDFLAGS)
 MessageQApp_tci6614_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6614.la \
                 $(AM_LDFLAGS)
 MessageQApp_tci6638_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6638.la \
                 $(AM_LDFLAGS)
 
 # the additional libraries needed to link MessageQBench
-MessageQBench_omap54xx_smp_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omap54xx_smp.la -lrt \
+MessageQBench_omap54xx_smp_LDADD = $(common_libraries) -lrt \
                 $(AM_LDFLAGS)
-MessageQBench_omapl138_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la -lrt \
+MessageQBench_omapl138_LDADD = $(common_libraries) -lrt \
                 $(AM_LDFLAGS)
-MessageQBench_tci6614_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6614.la -lrt \
+MessageQBench_tci6614_LDADD = $(common_libraries) -lrt \
                 $(AM_LDFLAGS)
-MessageQBench_tci6638_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6638.la -lrt \
+MessageQBench_tci6638_LDADD = $(common_libraries) -lrt \
                 $(AM_LDFLAGS)
 
 # the additional libraries needed to link MessageQMulti
 MessageQMulti_omap54xx_smp_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omap54xx_smp.la \
                 $(AM_LDFLAGS)
 MessageQMulti_omapl138_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
                 $(AM_LDFLAGS)
 MessageQMulti_tci6614_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6614.la \
                 $(AM_LDFLAGS)
 MessageQMulti_tci6638_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6638.la \
                 $(AM_LDFLAGS)
 
 # the additional libraries needed to link NameServerApp
 NameServerApp_omap54xx_smp_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omap54xx_smp.la \
                 $(AM_LDFLAGS)
 NameServerApp_omapl138_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
                 $(AM_LDFLAGS)
 NameServerApp_tci6614_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6614.la \
                 $(AM_LDFLAGS)
 NameServerApp_tci6638_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6638.la \
                 $(AM_LDFLAGS)
 
 # the additional libraries needed to link nano_test
 nano_test_omapl138_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
                 $(CMEM_INSTALL_DIR)/packages/ti/sdo/linuxutils/cmem/lib/cmem.a470MV \
                 $(AM_LDFLAGS)
 
index c337fcb466eb8d40861f466f8a851e9a777b5a0a..47a22ea76bd86d956aa69387688aae3fc2e8f21e 100644 (file)
@@ -117,97 +117,81 @@ am__DEPENDENCIES_1 = $(top_builddir)/linux/src/api/libtiipc.la \
        $(top_builddir)/linux/src/utils/libtiipcutils.la
 am__DEPENDENCIES_2 =
 MessageQApp_omap54xx_smp_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_omap54xx_smp.la \
        $(am__DEPENDENCIES_2)
 am_MessageQApp_omapl138_OBJECTS = $(am__objects_1) \
        MessageQApp.$(OBJEXT)
 MessageQApp_omapl138_OBJECTS = $(am_MessageQApp_omapl138_OBJECTS)
 MessageQApp_omapl138_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
        $(am__DEPENDENCIES_2)
 am_MessageQApp_tci6614_OBJECTS = $(am__objects_1) \
        MessageQApp.$(OBJEXT)
 MessageQApp_tci6614_OBJECTS = $(am_MessageQApp_tci6614_OBJECTS)
 MessageQApp_tci6614_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_tci6614.la \
        $(am__DEPENDENCIES_2)
 am_MessageQApp_tci6638_OBJECTS = $(am__objects_1) \
        MessageQApp.$(OBJEXT)
 MessageQApp_tci6638_OBJECTS = $(am_MessageQApp_tci6638_OBJECTS)
 MessageQApp_tci6638_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_tci6638.la \
        $(am__DEPENDENCIES_2)
 am_MessageQBench_omap54xx_smp_OBJECTS = $(am__objects_1) \
        MessageQBench.$(OBJEXT)
 MessageQBench_omap54xx_smp_OBJECTS =  \
        $(am_MessageQBench_omap54xx_smp_OBJECTS)
 MessageQBench_omap54xx_smp_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_omap54xx_smp.la \
        $(am__DEPENDENCIES_2)
 am_MessageQBench_omapl138_OBJECTS = $(am__objects_1) \
        MessageQBench.$(OBJEXT)
 MessageQBench_omapl138_OBJECTS = $(am_MessageQBench_omapl138_OBJECTS)
 MessageQBench_omapl138_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
        $(am__DEPENDENCIES_2)
 am_MessageQBench_tci6614_OBJECTS = $(am__objects_1) \
        MessageQBench.$(OBJEXT)
 MessageQBench_tci6614_OBJECTS = $(am_MessageQBench_tci6614_OBJECTS)
 MessageQBench_tci6614_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_tci6614.la \
        $(am__DEPENDENCIES_2)
 am_MessageQBench_tci6638_OBJECTS = $(am__objects_1) \
        MessageQBench.$(OBJEXT)
 MessageQBench_tci6638_OBJECTS = $(am_MessageQBench_tci6638_OBJECTS)
 MessageQBench_tci6638_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_tci6638.la \
        $(am__DEPENDENCIES_2)
 am_MessageQMulti_omap54xx_smp_OBJECTS = $(am__objects_1) \
        MessageQMulti.$(OBJEXT)
 MessageQMulti_omap54xx_smp_OBJECTS =  \
        $(am_MessageQMulti_omap54xx_smp_OBJECTS)
 MessageQMulti_omap54xx_smp_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_omap54xx_smp.la \
        $(am__DEPENDENCIES_2)
 am_MessageQMulti_omapl138_OBJECTS = $(am__objects_1) \
        MessageQMulti.$(OBJEXT)
 MessageQMulti_omapl138_OBJECTS = $(am_MessageQMulti_omapl138_OBJECTS)
 MessageQMulti_omapl138_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
        $(am__DEPENDENCIES_2)
 am_MessageQMulti_tci6614_OBJECTS = $(am__objects_1) \
        MessageQMulti.$(OBJEXT)
 MessageQMulti_tci6614_OBJECTS = $(am_MessageQMulti_tci6614_OBJECTS)
 MessageQMulti_tci6614_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_tci6614.la \
        $(am__DEPENDENCIES_2)
 am_MessageQMulti_tci6638_OBJECTS = $(am__objects_1) \
        MessageQMulti.$(OBJEXT)
 MessageQMulti_tci6638_OBJECTS = $(am_MessageQMulti_tci6638_OBJECTS)
 MessageQMulti_tci6638_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_tci6638.la \
        $(am__DEPENDENCIES_2)
 am__objects_2 = NameServerApp.$(OBJEXT)
 am_NameServerApp_omap54xx_smp_OBJECTS = $(am__objects_2)
 NameServerApp_omap54xx_smp_OBJECTS =  \
        $(am_NameServerApp_omap54xx_smp_OBJECTS)
 NameServerApp_omap54xx_smp_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_omap54xx_smp.la \
        $(am__DEPENDENCIES_2)
 am_NameServerApp_omapl138_OBJECTS = $(am__objects_2)
 NameServerApp_omapl138_OBJECTS = $(am_NameServerApp_omapl138_OBJECTS)
 NameServerApp_omapl138_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
        $(am__DEPENDENCIES_2)
 am_NameServerApp_tci6614_OBJECTS = $(am__objects_2)
 NameServerApp_tci6614_OBJECTS = $(am_NameServerApp_tci6614_OBJECTS)
 NameServerApp_tci6614_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_tci6614.la \
        $(am__DEPENDENCIES_2)
 am_NameServerApp_tci6638_OBJECTS = $(am__objects_2)
 NameServerApp_tci6638_OBJECTS = $(am_NameServerApp_tci6638_OBJECTS)
 NameServerApp_tci6638_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_tci6638.la \
        $(am__DEPENDENCIES_2)
 am_mmrpc_test_OBJECTS = Mx.$(OBJEXT) mmrpc_test.$(OBJEXT)
 mmrpc_test_OBJECTS = $(am_mmrpc_test_OBJECTS)
@@ -215,7 +199,6 @@ mmrpc_test_DEPENDENCIES = $(top_builddir)/linux/src/mm/libmmrpc.la
 am_nano_test_omapl138_OBJECTS = $(am__objects_1) nano_test.$(OBJEXT)
 nano_test_omapl138_OBJECTS = $(am_nano_test_omapl138_OBJECTS)
 nano_test_omapl138_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
        $(CMEM_INSTALL_DIR)/packages/ti/sdo/linuxutils/cmem/lib/cmem.a470MV \
        $(am__DEPENDENCIES_2)
 am_ping_rpmsg_OBJECTS = ping_rpmsg.$(OBJEXT)
@@ -442,79 +425,62 @@ mmrpc_test_LDADD = $(top_builddir)/linux/src/mm/libmmrpc.la
 
 # the additional libraries needed to link MessageQApp
 MessageQApp_omap54xx_smp_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omap54xx_smp.la \
                 $(AM_LDFLAGS)
 
 MessageQApp_omapl138_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
                 $(AM_LDFLAGS)
 
 MessageQApp_tci6614_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6614.la \
                 $(AM_LDFLAGS)
 
 MessageQApp_tci6638_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6638.la \
                 $(AM_LDFLAGS)
 
 
 # the additional libraries needed to link MessageQBench
-MessageQBench_omap54xx_smp_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omap54xx_smp.la -lrt \
+MessageQBench_omap54xx_smp_LDADD = $(common_libraries) -lrt \
                 $(AM_LDFLAGS)
 
-MessageQBench_omapl138_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la -lrt \
+MessageQBench_omapl138_LDADD = $(common_libraries) -lrt \
                 $(AM_LDFLAGS)
 
-MessageQBench_tci6614_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6614.la -lrt \
+MessageQBench_tci6614_LDADD = $(common_libraries) -lrt \
                 $(AM_LDFLAGS)
 
-MessageQBench_tci6638_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6638.la -lrt \
+MessageQBench_tci6638_LDADD = $(common_libraries) -lrt \
                 $(AM_LDFLAGS)
 
 
 # the additional libraries needed to link MessageQMulti
 MessageQMulti_omap54xx_smp_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omap54xx_smp.la \
                 $(AM_LDFLAGS)
 
 MessageQMulti_omapl138_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
                 $(AM_LDFLAGS)
 
 MessageQMulti_tci6614_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6614.la \
                 $(AM_LDFLAGS)
 
 MessageQMulti_tci6638_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6638.la \
                 $(AM_LDFLAGS)
 
 
 # the additional libraries needed to link NameServerApp
 NameServerApp_omap54xx_smp_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omap54xx_smp.la \
                 $(AM_LDFLAGS)
 
 NameServerApp_omapl138_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
                 $(AM_LDFLAGS)
 
 NameServerApp_tci6614_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6614.la \
                 $(AM_LDFLAGS)
 
 NameServerApp_tci6638_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_tci6638.la \
                 $(AM_LDFLAGS)
 
 
 # the additional libraries needed to link nano_test
 nano_test_omapl138_LDADD = $(common_libraries) \
-                $(top_builddir)/linux/src/family/libtiipccfg_omapl138.la \
                 $(CMEM_INSTALL_DIR)/packages/ti/sdo/linuxutils/cmem/lib/cmem.a470MV \
                 $(AM_LDFLAGS)
 
index 320ef23e99695a1a71635aa577cdd7b5b7186f97..6490e267d9f9e5d702e5d3b52d8f462b539d498d 100644 (file)
@@ -195,14 +195,16 @@ int main (int argc, char ** argv)
                    NUM_LOOPS_DFLT, PROC_ID_DFLT);
            exit(0);
     }
+
+    status = Ipc_start();
+
     if (procId >= MultiProc_getNumProcessors()) {
         printf("ProcId must be less than %d\n", MultiProc_getNumProcessors());
+        Ipc_stop();
         exit(0);
     }
     printf("Using numLoops: %d; procId : %d\n", numLoops, procId);
 
-    status = Ipc_start();
-
     if (status >= 0) {
         MessageQApp_execute(numLoops, procId);
         Ipc_stop();
index da71368443ea4ebe30b8a90624d0965b67afc323..b08c92402992b20ba2ac242c10647374016e9e5f 100644 (file)
@@ -216,15 +216,17 @@ int main (int argc, char * argv[])
                    NUM_LOOPS_DFLT, MINPAYLOADSIZE, PROC_ID_DFLT);
         exit(0);
     }
+
+    status = Ipc_start();
+
     if (procId >= MultiProc_getNumProcessors()) {
         printf("ProcId must be less than %d\n", MultiProc_getNumProcessors());
+        Ipc_stop();
         exit(0);
     }
     printf("Using numLoops: %d; payloadSize: %d, procId : %d\n",
             numLoops, payloadSize, procId);
 
-    status = Ipc_start();
-
     if (status >= 0) {
         MessageQApp_execute(numLoops, payloadSize, procId);
         Ipc_stop();