This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patches for IDT79S334a ROM files


Attached are fixes for allowing to compile in the
0x9fc0_0000 address space.

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
Index: hal/mips/idt79s334a/current/include/pkgconf/mlt_mips_idt32334_refidt334_rom.h
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/mips/idt79s334a/current/include/pkgconf/mlt_mips_idt32334_refidt334_rom.h,v
retrieving revision 1.1
diff -u -5 -p -r1.1 mlt_mips_idt32334_refidt334_rom.h
--- hal/mips/idt79s334a/current/include/pkgconf/mlt_mips_idt32334_refidt334_rom.h	14 Feb 2003 01:44:02 -0000	1.1
+++ hal/mips/idt79s334a/current/include/pkgconf/mlt_mips_idt32334_refidt334_rom.h	23 Mar 2003 23:05:46 -0000
@@ -5,15 +5,15 @@
 #ifndef __ASSEMBLER__
 #include <cyg/infra/cyg_type.h>
 #include <stddef.h>
 #endif
 
-#define CYGMEM_REGION_ram (0x80000200)
+#define CYGMEM_REGION_ram (0x80000800)
 #define CYGMEM_REGION_ram_SIZE (0x1000000)
 #define CYGMEM_REGION_ram_ATTR (CYGMEM_REGION_ATTR_R | CYGMEM_REGION_ATTR_W)
-#define CYGMEM_REGION_rom (0x80200000)
-#define CYGMEM_REGION_rom_SIZE (0x800000)
+#define CYGMEM_REGION_rom (0x9fc00000)
+#define CYGMEM_REGION_rom_SIZE (0x80000)
 #define CYGMEM_REGION_rom_ATTR (CYGMEM_REGION_ATTR_R)
 #ifndef __ASSEMBLER__
 extern char CYG_LABEL_NAME (__heap1) [];
 #endif
 #define CYGMEM_SECTION_heap1 (CYG_LABEL_NAME (__heap1))
Index: hal/mips/idt79s334a/current/include/pkgconf/mlt_mips_idt32334_refidt334_rom.ldi
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/mips/idt79s334a/current/include/pkgconf/mlt_mips_idt32334_refidt334_rom.ldi,v
retrieving revision 1.1
diff -u -5 -p -r1.1 mlt_mips_idt32334_refidt334_rom.ldi
--- hal/mips/idt79s334a/current/include/pkgconf/mlt_mips_idt32334_refidt334_rom.ldi	14 Feb 2003 01:44:02 -0000	1.1
+++ hal/mips/idt79s334a/current/include/pkgconf/mlt_mips_idt32334_refidt334_rom.ldi	23 Mar 2003 23:05:46 -0000
@@ -4,26 +4,26 @@
 
 #include <cyg/infra/cyg_type.inc>
 
 MEMORY
 {
-    ram : ORIGIN = 0x80000200, LENGTH = 0x1000000
-    rom : ORIGIN = 0x80200000, LENGTH = 0x80000
+    ram : ORIGIN = 0x80000800, LENGTH = 0x1000000
+    rom : ORIGIN = 0x9fc00000, LENGTH = 0x80000
 }
 
 SECTIONS
 {
     SECTIONS_BEGIN
-    SECTION_rom_vectors (rom, 0x80200000, LMA_EQ_VMA)
+    SECTION_rom_vectors (rom, 0x9fc00000, LMA_EQ_VMA)
     SECTION_ROMISC (rom, ALIGN (0x8), LMA_EQ_VMA)
     SECTION_RELOCS (rom, ALIGN (0x8), LMA_EQ_VMA)
     SECTION_init (rom, ALIGN (0x8), LMA_EQ_VMA)
     SECTION_text (rom, ALIGN (0x8), LMA_EQ_VMA)
     SECTION_fini (rom, ALIGN (0x8), LMA_EQ_VMA)
     SECTION_rodata (rom, ALIGN (0x8), LMA_EQ_VMA)
     SECTION_rodata1 (rom, ALIGN (0x8), LMA_EQ_VMA)
-    SECTION_data (ram, 0x80000200, FOLLOWING (.rodata1))
+    SECTION_data (ram, 0x80000800, FOLLOWING (.rodata1))
     SECTION_data1 (ram, ALIGN (0x40), FOLLOWING (.data))
     SECTION_eh_frame (ram, ALIGN (0x40), FOLLOWING (.data1))
     SECTION_gcc_except_table (ram, ALIGN (0x40), FOLLOWING (.eh_frame))
     SECTION_ctors (ram, ALIGN (0x40), FOLLOWING (.gcc_except_table))
     SECTION_dtors (ram, ALIGN (0x40), FOLLOWING (.ctors))
Index: hal/mips/idt79s334a/current/include/pkgconf/mlt_mips_idt32334_refidt334_romram.h
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/mips/idt79s334a/current/include/pkgconf/mlt_mips_idt32334_refidt334_romram.h,v
retrieving revision 1.1
diff -u -5 -p -r1.1 mlt_mips_idt32334_refidt334_romram.h
--- hal/mips/idt79s334a/current/include/pkgconf/mlt_mips_idt32334_refidt334_romram.h	14 Feb 2003 01:44:02 -0000	1.1
+++ hal/mips/idt79s334a/current/include/pkgconf/mlt_mips_idt32334_refidt334_romram.h	23 Mar 2003 23:05:46 -0000
@@ -5,11 +5,11 @@
 #ifndef __ASSEMBLER__
 #include <cyg/infra/cyg_type.h>
 #include <stddef.h>
 #endif
 
-#define CYGMEM_REGION_ram (0x80000200)
+#define CYGMEM_REGION_ram (0x80000800)
 #define CYGMEM_REGION_ram_SIZE (0x1000000)
 #define CYGMEM_REGION_ram_ATTR (CYGMEM_REGION_ATTR_R | CYGMEM_REGION_ATTR_W)
 
 #ifndef __ASSEMBLER__
 extern char CYG_LABEL_NAME (__heap1) [];

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]