[Cbe-oss-dev] [PATCH 03/17]MARS/core: Include config.h

Yuji Mano yuji.mano at am.sony.com
Wed Nov 26 14:39:43 EST 2008


From: Kazunori Asayama <asayama at sm.sony.co.jp>

Include config.h in sources

Signed-off-by: Kazunori Asayama <asayama at sm.sony.co.jp>
---
 core/src/host/lib/alloc.c          |    2 ++
 core/src/host/lib/context.c        |    2 ++
 core/src/host/lib/ea.c             |    2 ++
 core/src/host/lib/mutex.c          |    2 ++
 core/src/host/lib/workload_queue.c |    2 ++
 core/src/mpu/kernel/kernel.c       |    2 ++
 core/src/mpu/lib/module.c          |    2 ++
 core/src/mpu/lib/mutex.c           |    2 ++
 8 files changed, 16 insertions(+)

--- a/core/src/host/lib/alloc.c
+++ b/core/src/host/lib/alloc.c
@@ -37,6 +37,8 @@
 
 #include <stdlib.h>
 
+#include "config.h"
+
 #include "mars/core.h"
 
 void *mars_malloc(size_t size)
--- a/core/src/host/lib/context.c
+++ b/core/src/host/lib/context.c
@@ -40,6 +40,8 @@
 #include <libspe2.h>
 #include <ppu_intrinsics.h>
 
+#include "config.h"
+
 #include "mars/context.h"
 #include "mars/core.h"
 #include "mars/error.h"
--- a/core/src/host/lib/ea.c
+++ b/core/src/host/lib/ea.c
@@ -38,6 +38,8 @@
 #include <stdlib.h>
 #include <malloc.h>
 
+#include "config.h"
+
 #include "mars/core.h"
 
 void *mars_ea_memalign(size_t boundary, size_t size)
--- a/core/src/host/lib/mutex.c
+++ b/core/src/host/lib/mutex.c
@@ -37,6 +37,8 @@
 
 #include <ppu_intrinsics.h>
 
+#include "config.h"
+
 #include "mars/core.h"
 #include "mars/error.h"
 #include "mars/mutex.h"
--- a/core/src/host/lib/workload_queue.c
+++ b/core/src/host/lib/workload_queue.c
@@ -39,6 +39,8 @@
 #include <string.h>
 #include <unistd.h>
 
+#include "config.h"
+
 #include "mars/core.h"
 #include "mars/error.h"
 #include "mars/mutex.h"
--- a/core/src/mpu/kernel/kernel.c
+++ b/core/src/mpu/kernel/kernel.c
@@ -39,6 +39,8 @@
 #include <stdint.h>
 #include <string.h>
 
+#include "config.h"
+
 #include "mars/dma.h"
 #include "mars/error.h"
 #include "mars/module.h"
--- a/core/src/mpu/lib/module.c
+++ b/core/src/mpu/lib/module.c
@@ -37,6 +37,8 @@
 
 #include <stddef.h>
 
+#include "config.h"
+
 #include "mars/dma.h"
 #include "mars/error.h"
 #include "mars/module.h"
--- a/core/src/mpu/lib/mutex.c
+++ b/core/src/mpu/lib/mutex.c
@@ -37,6 +37,8 @@
 
 #include <spu_mfcio.h>
 
+#include "config.h"
+
 #include "mars/dma.h"
 #include "mars/error.h"
 #include "mars/mutex.h"





More information about the cbe-oss-dev mailing list