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]

Re: mn10300/asb update


Mark Salter wrote:
Updating mn10300/asb HAL to support RedBoot instead of CygMon.
Please write something appropriate in NEWS as well. Ta.

Index: hal/mn10300/asb/current/include/pkgconf/mlt_mn10300_am33_asb_rom.ldi
[snip]
@@ -18,10 +18,15 @@ SECTIONS
     SECTION_fini (rom, ALIGN (0x1), LMA_EQ_VMA)
     SECTION_rodata (rom, ALIGN (0x1), LMA_EQ_VMA)
     SECTION_rodata1 (rom, ALIGN (0x1), LMA_EQ_VMA)
     SECTION_fixup (rom, ALIGN (0x1), LMA_EQ_VMA)
     SECTION_gcc_except_table (rom, ALIGN (0x1), LMA_EQ_VMA)
-    SECTION_data (ram, 0x90000200, FOLLOWING (.gcc_except_table))
+    SECTION_data (ram, 0x90000000, FOLLOWING (.gcc_except_table))
     SECTION_bss (ram, ALIGN (0x4), LMA_EQ_VMA)
     CYG_LABEL_DEFN(__heap1) = ALIGN (0x8);
     SECTIONS_END
 }
+
+#define CYG_HAL_PLATFORM_HAL_VSR_TABLE_DEFINED
+
+_hal_vsr_table = 0x8C000000;
+_hal_virtual_vector_table = 0x8C000100;
This can't be right. The config tool MLT doesn't generate these. And on windows the .ldi file will be regenerated and this will be lost. Ditto the other .ldi files.

Jifl
--
eCosCentric http://www.eCosCentric.com/ <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine


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