[Cbe-oss-dev] [PATCH 16/28]MARS/base: remove mars header

Yuji Mano yuji.mano at am.sony.com
Fri Feb 6 13:31:57 EST 2009


This patch removes the mars/mars.h base library header.
The base library header should not be dependent on any workload library header.

Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>
---
 base/include/host/mars/mars.h |   54 ------------------------------------------
 base/include/mpu/mars/mars.h  |   51 ---------------------------------------
 base/src/host/lib/Makefile.am |    1 
 base/src/mpu/lib/Makefile.am  |    1 
 4 files changed, 107 deletions(-)

--- a/base/include/host/mars/mars.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright 2008 Sony Corporation of America
- *
- *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this Library and associated documentation files (the
- * "Library"), to deal in the Library without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Library, and to
- * permit persons to whom the Library is furnished to do so, subject to
- * the following conditions:
- *
- *  The above copyright notice and this permission notice shall be
- *  included in all copies or substantial portions of the Library.
- *
- *  If you modify the Library, you may copy and distribute your modified
- *  version of the Library in object code or as an executable provided
- *  that you also do one of the following:
- *
- *   Accompany the modified version of the Library with the complete
- *   corresponding machine-readable source code for the modified version
- *   of the Library; or,
- *
- *   Accompany the modified version of the Library with a written offer
- *   for a complete machine-readable copy of the corresponding source
- *   code of the modified version of the Library.
- *
- *
- * THE LIBRARY IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- * LIBRARY OR THE USE OR OTHER DEALINGS IN THE LIBRARY.
- */
-
-#ifndef MARS_H
-#define MARS_H
-
-/**
- * \file
- * \ingroup group_mars
- * \brief <b>[host]</b> MARS API
- */
-
-#include <mars/base_features.h>
-#include <mars/base.h>
-#include <mars/context.h>
-#include <mars/error.h>
-#include <mars/mutex.h>
-#include <mars/task.h>
-
-#endif
--- a/base/include/mpu/mars/mars.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright 2008 Sony Corporation of America
- *
- *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this Library and associated documentation files (the
- * "Library"), to deal in the Library without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Library, and to
- * permit persons to whom the Library is furnished to do so, subject to
- * the following conditions:
- *
- *  The above copyright notice and this permission notice shall be
- *  included in all copies or substantial portions of the Library.
- *
- *  If you modify the Library, you may copy and distribute your modified
- *  version of the Library in object code or as an executable provided
- *  that you also do one of the following:
- *
- *   Accompany the modified version of the Library with the complete
- *   corresponding machine-readable source code for the modified version
- *   of the Library; or,
- *
- *   Accompany the modified version of the Library with a written offer
- *   for a complete machine-readable copy of the corresponding source
- *   code of the modified version of the Library.
- *
- *
- * THE LIBRARY IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- * LIBRARY OR THE USE OR OTHER DEALINGS IN THE LIBRARY.
- */
-
-#ifndef MARS_H
-#define MARS_H
-
-/**
- * \file
- * \ingroup group_mars
- * \brief <b>[MPU]</b> MARS API
- */
-
-#include <mars/base_features.h>
-#include <mars/error.h>
-#include <mars/task.h>
-
-#endif
--- a/base/src/host/lib/Makefile.am
+++ b/base/src/host/lib/Makefile.am
@@ -68,7 +68,6 @@ pkginclude_HEADERS = \
 	$(srcdir)/../../../include/common/mars/workload_types.h \
 	$(srcdir)/../../../include/host/mars/base.h \
 	$(srcdir)/../../../include/host/mars/context.h \
-	$(srcdir)/../../../include/host/mars/mars.h \
 	$(srcdir)/../../../include/host/mars/mutex.h \
 	$(srcdir)/../../../include/host/mars/workload_queue.h
 
--- a/base/src/mpu/lib/Makefile.am
+++ b/base/src/mpu/lib/Makefile.am
@@ -60,7 +60,6 @@ pkginclude_HEADERS = \
 	$(srcdir)/../../../include/common/mars/error.h \
 	$(srcdir)/../../../include/common/mars/mutex_types.h \
 	$(srcdir)/../../../include/common/mars/workload_types.h \
-	$(srcdir)/../../../include/mpu/mars/mars.h \
 	$(srcdir)/../../../include/mpu/mars/module.h
 
 nodist_pkginclude_HEADERS = \







More information about the cbe-oss-dev mailing list