summaryrefslogtreecommitdiff
path: root/ecos
diff options
context:
space:
mode:
authorsave2008-02-19 16:49:30 +0000
committersave2008-02-19 16:49:30 +0000
commit6cb9b421527c0f2d0619102317dbbcadcac25373 (patch)
tree93d5c88d559dfbfd7d39d84737a87e15690d76ce /ecos
parent3a2bb9844f58d1c2ebf88a35c1d9597d6bca5e85 (diff)
Changed ecos mapping for our platforms
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@1438 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'ecos')
-rw-r--r--ecos/packages/hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.h4
-rw-r--r--ecos/packages/hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.ldi4
-rw-r--r--ecos/packages/hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.mlt4
3 files changed, 6 insertions, 6 deletions
diff --git a/ecos/packages/hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.h b/ecos/packages/hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.h
index 142bb485fd..c5f6424d26 100644
--- a/ecos/packages/hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.h
+++ b/ecos/packages/hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.h
@@ -7,13 +7,13 @@
#include <stddef.h>
#endif
-#define CYGMEM_REGION_ram (0x40000000)
+#define CYGMEM_REGION_ram (0x00000000)
#define CYGMEM_REGION_ram_SIZE (0x100000)
#define CYGMEM_REGION_ram_ATTR (CYGMEM_REGION_ATTR_R | CYGMEM_REGION_ATTR_W)
#ifndef __ASSEMBLER__
extern char CYG_LABEL_NAME (__heap1) [];
#endif
#define CYGMEM_SECTION_heap1 (CYG_LABEL_NAME (__heap1))
-#define CYGMEM_SECTION_heap1_SIZE (0x40100000 - (size_t) CYG_LABEL_NAME (__heap1))
+#define CYGMEM_SECTION_heap1_SIZE (0x00100000 - (size_t) CYG_LABEL_NAME (__heap1))
#define CYGHWR_HAL_SPARC_MULTIPLE_VECTOR_TRAPPING
diff --git a/ecos/packages/hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.ldi b/ecos/packages/hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.ldi
index c6df5cbe59..2a8a004c1d 100644
--- a/ecos/packages/hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.ldi
+++ b/ecos/packages/hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.ldi
@@ -6,13 +6,13 @@
MEMORY
{
- ram : ORIGIN = 0x40000000, LENGTH = 0x40000000
+ ram : ORIGIN = 0x00000000, LENGTH = 0x4000000
}
SECTIONS
{
SECTIONS_BEGIN
- SECTION_rom_vectors (ram, 0x40000000, LMA_EQ_VMA)
+ SECTION_rom_vectors (ram, 0x00000000, LMA_EQ_VMA)
SECTION_text (ram, ALIGN (0x1), LMA_EQ_VMA)
SECTION_fini (ram, ALIGN (0x1), LMA_EQ_VMA)
SECTION_rodata (ram, ALIGN (0x1), LMA_EQ_VMA)
diff --git a/ecos/packages/hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.mlt b/ecos/packages/hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.mlt
index 173485c807..60f264aa63 100644
--- a/ecos/packages/hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.mlt
+++ b/ecos/packages/hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.mlt
@@ -1,6 +1,6 @@
version 0
-region ram 40000000 40000000 0 !
-section rom_vectors 0 1 0 1 1 1 1 1 40000000 40000000 text text !
+region ram 00000000 4000000 0 !
+section rom_vectors 0 1 0 1 1 1 1 1 00000000 4000000 text text !
section text 0 1 0 1 0 1 0 1 fini fini !
section fini 0 1 0 1 0 1 0 1 rodata rodata !
section rodata 0 1 0 1 0 1 0 1 rodata1 rodata1 !