[Cbe-oss-dev] [PATCH 12/22]MARS/base: Reduce kernel and module size
Yuji Mano
yuji.mano at am.sony.com
Wed Jan 21 11:29:05 EST 2009
Reduce the kernal elf and stack area to 10K.
Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>
---
base/include/common/mars/workload_types.h | 2 +-
base/src/mpu/kernel/Makefile.am | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
--- a/base/include/common/mars/workload_types.h
+++ b/base/include/common/mars/workload_types.h
@@ -51,7 +51,7 @@
* \ingroup group_mars_workload_module
* \brief Base address of workload module
*/
-#define MARS_WORKLOAD_MODULE_BASE_ADDR 0x4000
+#define MARS_WORKLOAD_MODULE_BASE_ADDR 0x2800
/**
* \ingroup group_mars_workload_module
--- a/base/src/mpu/kernel/Makefile.am
+++ b/base/src/mpu/kernel/Makefile.am
@@ -47,8 +47,8 @@ if DEBUG
CFLAGS += -O0
else
extra_cppflags += "-DNDEBUG"
- # release kernel is 16K
- extra_ldflags += -Wl,--defsym=__stack=0x03ff0
+ # release kernel is 10K
+ extra_ldflags += -Wl,--defsym=__stack=0x027f0
CFLAGS += -Os
endif
More information about the cbe-oss-dev
mailing list