[Cbe-oss-dev] [PATCH 18/22]MARS/task: Update module base addr and stack

Yuji Mano yuji.mano at am.sony.com
Wed Jan 21 11:30:05 EST 2009


Adjust the task base address and maximum context size.

Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>

---
 task/include/common/mars/task_types.h |    4 ++--
 task/src/mpu/module/Makefile.am       |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

--- a/task/include/common/mars/task_types.h
+++ b/task/include/common/mars/task_types.h
@@ -50,13 +50,13 @@
  * \ingroup group_mars_task
  * \brief Base address of task
  */
-#define MARS_TASK_BASE_ADDR			0x8000
+#define MARS_TASK_BASE_ADDR			0x4000
 
 /**
  * \ingroup group_mars_task
  * \brief Max size of context save area
  */
-#define MARS_TASK_CONTEXT_SAVE_SIZE_MAX		0x38000
+#define MARS_TASK_CONTEXT_SAVE_SIZE_MAX		0x3C000
 
 /**
  * \ingroup group_mars_task
--- a/task/src/mpu/module/Makefile.am
+++ b/task/src/mpu/module/Makefile.am
@@ -47,8 +47,8 @@ if DEBUG
  CFLAGS += -O0
 else
  extra_cppflags += "-DNDEBUG"
- # release kernel is 16K
- extra_ldflags += -Wl,--defsym=__stack=0x7ff0 -Wl,--section-start,.init=0x4000
+ # release kernel is 10K
+ extra_ldflags += -Wl,--defsym=__stack=0x3ff0 -Wl,--section-start,.init=0x2800
  CFLAGS += -Os
 endif
 






More information about the cbe-oss-dev mailing list