• R/O
  • HTTP
  • SSH
  • HTTPS

hos-v4a: コミット

HOS-V4 Advance の開発リポジトリ


コミットメタ情報

リビジョンa5bded78f458324c76f82d36dcc0d2c262371830 (tree)
日時2011-04-06 00:13:30
作者ryuz <ryuz@user...>
コミッターryuz

ログメッセージ

modify linker scripts

変更サマリ

差分

--- a/aplfw/sample/arm/utb_arm7at91/gcc/link.lds
+++ b/aplfw/sample/arm/utb_arm7at91/gcc/link.lds
@@ -4,8 +4,8 @@ ENTRY(_reset_handler)
44 MEMORY
55 {
66 vector : o = 0x20000000, l = 0x00000040
7- rom : o = 0x20000040, l = 0x000fffc0
8- ram : o = 0x20100000, l = 0x00100000
7+ ro : o = 0x20000040, l = 0x000fffc0
8+ rw : o = 0x20100000, l = 0x00100000
99 }
1010
1111 SECTIONS
@@ -25,7 +25,7 @@ SECTIONS
2525 *(.rodata*)
2626 *(.glue*)
2727 ___text_end = . ;
28- } > rom
28+ } > ro
2929 .tors :
3030 {
3131 . = ALIGN(4);
@@ -35,20 +35,20 @@ SECTIONS
3535 ___dtors = . ;
3636 *(.dtors)
3737 ___dtors_end = . ;
38- } > rom
38+ } > ro
3939 data : AT (ADDR(.tors) + SIZEOF(.tors))
4040 {
4141 ___data_rom = ADDR(.tors) + SIZEOF(.tors);
4242 ___data = . ;
4343 *(.data)
4444 ___data_end = . ;
45- } > ram
45+ } > rw
4646 .bss :
4747 {
4848 ___bss = . ;
4949 *(.bss)
5050 *(COMMON)
5151 ___bss_end = . ;
52- } >ram
52+ } > rw
5353 }
5454
--- a/aplfw/sample/mips/jelly/gcc/ram.lds
+++ b/aplfw/sample/mips/jelly/gcc/ram.lds
@@ -3,8 +3,8 @@ ENTRY(_reset_handler)
33
44 MEMORY
55 {
6- rom : o = 0x00000000, l = 0x00020000
7- ram : o = 0x00020000, l = 0x000e0000
6+ ro : o = 0x00000000, l = 0x00020000
7+ rw : o = 0x00020000, l = 0x000e0000
88 }
99
1010 SECTIONS
@@ -18,7 +18,7 @@ SECTIONS
1818 *(.rodata*)
1919 *(.glue*)
2020 ___text_end = . ;
21- } > rom
21+ } > ro
2222 .tors :
2323 {
2424 . = ALIGN(4);
@@ -28,7 +28,7 @@ SECTIONS
2828 ___dtors = . ;
2929 *(.dtors)
3030 ___dtors_end = . ;
31- } > rom
31+ } > ro
3232 data : AT (ADDR(.tors) + SIZEOF(.tors))
3333 {
3434 ___data_rom = ADDR(.tors) + SIZEOF(.tors);
@@ -38,7 +38,7 @@ SECTIONS
3838 *(.sdata)
3939 *(.eh_frame)
4040 ___data_end = . ;
41- } > ram
41+ } > rw
4242 .bss :
4343 {
4444 ___bss = . ;
@@ -47,6 +47,6 @@ SECTIONS
4747 *(COMMON)
4848 *(.scommon)
4949 ___bss_end = . ;
50- } > ram
50+ } > rw
5151 }
5252
--- a/aplfw/sample/mips/jelly/gcc/rom.lds
+++ b/aplfw/sample/mips/jelly/gcc/rom.lds
@@ -3,8 +3,8 @@ ENTRY(_reset_handler)
33
44 MEMORY
55 {
6- rom : o = 0x00000000, l = 0x00010000
7- ram : o = 0x01000000, l = 0x00100000
6+ ro : o = 0x00000000, l = 0x00010000
7+ ra : o = 0x01000000, l = 0x00100000
88 }
99
1010 SECTIONS
@@ -18,7 +18,7 @@ SECTIONS
1818 *(.rodata*)
1919 *(.glue*)
2020 ___text_end = . ;
21- } > rom
21+ } > ro
2222 .tors :
2323 {
2424 . = ALIGN(4);
@@ -28,7 +28,7 @@ SECTIONS
2828 ___dtors = . ;
2929 *(.dtors)
3030 ___dtors_end = . ;
31- } > rom
31+ } > ro
3232 data : AT (ADDR(.tors) + SIZEOF(.tors))
3333 {
3434 ___data_rom = ADDR(.tors) + SIZEOF(.tors);
@@ -38,7 +38,7 @@ SECTIONS
3838 *(.sdata)
3939 *(.eh_frame)
4040 ___data_end = . ;
41- } > ram
41+ } > rw
4242 .bss :
4343 {
4444 ___bss = . ;
@@ -47,6 +47,6 @@ SECTIONS
4747 *(COMMON)
4848 *(.scommon)
4949 ___bss_end = . ;
50- } >ram
50+ } > rw
5151 }
5252
--- a/aplfw/sample/mn103/mn103sfa5k/gcc/link.lds
+++ b/aplfw/sample/mn103/mn103sfa5k/gcc/link.lds
@@ -3,8 +3,8 @@ ENTRY(_reset_handler)
33
44 MEMORY
55 {
6- ram : o = 0x00000004, l = 0x00001ffc
7- rom : o = 0x40000000, l = 0x00040000
6+ rw : o = 0x00000004, l = 0x00001ffc
7+ ro : o = 0x40000000, l = 0x00040000
88 }
99
1010 SECTIONS
@@ -17,7 +17,7 @@ SECTIONS
1717 *(.rodata*)
1818 *(.glue*)
1919 ___text_end = . ;
20- } > rom
20+ } > ro
2121 .tors :
2222 {
2323 . = ALIGN(4);
@@ -27,20 +27,20 @@ SECTIONS
2727 ___dtors = . ;
2828 *(.dtors)
2929 ___dtors_end = . ;
30- } > rom
30+ } > ro
3131 data : AT (ADDR(.tors) + SIZEOF(.tors))
3232 {
3333 ___data_rom = ADDR(.tors) + SIZEOF(.tors);
3434 ___data = . ;
3535 *(.data)
3636 ___data_end = . ;
37- } > ram
37+ } > rw
3838 .bss :
3939 {
4040 ___bss = . ;
4141 *(.bss)
4242 *(COMMON)
4343 ___bss_end = . ;
44- } >ram
44+ } > rw
4545 }
4646
--- a/kernel/include/arch/irc/mb/axi_intc/ircatr.h
+++ b/kernel/include/arch/irc/mb/axi_intc/ircatr.h
@@ -17,7 +17,7 @@
1717
1818 #define _KERNEL_IRCATR_IRC TRUE /**< %jp{IRCの有無} */
1919 #define _KERNEL_IRCATR_REG_BASE TRUE /**< %jp{IRCレジスタベースアドレスの有無} */
20-#define _KERNEL_IRCATR_REG_BASE_DEF 0x00000000 /**< %jp{デフォルトのIRCレジスタベースアドレス} */
20+#define _KERNEL_IRCATR_REG_BASE_DEF 0x41200000 /**< %jp{デフォルトのIRCレジスタベースアドレス} */
2121
2222 #define _KERNEL_IRCATR_TMIN_INTNO 0 /**< %jp{割込み番号の最小値} */
2323 #define _KERNEL_IRCATR_TMAX_INTNO 31 /**< %jp{割込み番号の最大値} */
--- a/sample/arm/aduc7000/gcc/link.lds
+++ b/sample/arm/aduc7000/gcc/link.lds
@@ -4,8 +4,8 @@ ENTRY(_reset_handler)
44 MEMORY
55 {
66 vector : o = 0x00000000, l = 0x00000040
7- rom : o = 0x00000040, l = 0x0000ffc0
8- ram : o = 0x00010000, l = 0x00002000
7+ ro : o = 0x00000040, l = 0x0000ffc0
8+ rw : o = 0x00010000, l = 0x00002000
99 }
1010
1111 SECTIONS
@@ -25,7 +25,7 @@ SECTIONS
2525 *(.rodata*)
2626 *(.glue*)
2727 ___text_end = . ;
28- } > rom
28+ } > ro
2929 .tors :
3030 {
3131 . = ALIGN(4);
@@ -35,20 +35,20 @@ SECTIONS
3535 ___dtors = . ;
3636 *(.dtors)
3737 ___dtors_end = . ;
38- } > rom
38+ } > ro
3939 data : AT (ADDR(.tors) + SIZEOF(.tors))
4040 {
4141 ___data_rom = ADDR(.tors) + SIZEOF(.tors);
4242 ___data = . ;
4343 *(.data)
4444 ___data_end = . ;
45- } > ram
45+ } > rw
4646 .bss :
4747 {
4848 ___bss = . ;
4949 *(.bss)
5050 *(COMMON)
5151 ___bss_end = . ;
52- } >ram
52+ } > rw
5353 }
5454
--- a/sample/arm/lpc2000/gcc/link.lds
+++ b/sample/arm/lpc2000/gcc/link.lds
@@ -4,8 +4,8 @@ ENTRY(_reset_handler)
44 MEMORY
55 {
66 vector : o = 0x00000000, l = 0x00000040
7- rom : o = 0x00000040, l = 0x0000ffc0
8- ram : o = 0x40000000, l = 0x00004000
7+ ro : o = 0x00000040, l = 0x0000ffc0
8+ rw : o = 0x40000000, l = 0x00004000
99 }
1010
1111 SECTIONS
@@ -25,7 +25,7 @@ SECTIONS
2525 *(.rodata*)
2626 *(.glue*)
2727 ___text_end = . ;
28- } > rom
28+ } > ro
2929 .tors :
3030 {
3131 . = ALIGN(4);
@@ -35,20 +35,20 @@ SECTIONS
3535 ___dtors = . ;
3636 *(.dtors)
3737 ___dtors_end = . ;
38- } > rom
38+ } > ro
3939 data : AT (ADDR(.tors) + SIZEOF(.tors))
4040 {
4141 ___data_rom = ADDR(.tors) + SIZEOF(.tors);
4242 ___data = . ;
4343 *(.data)
4444 ___data_end = . ;
45- } > ram
45+ } > rw
4646 .bss :
4747 {
4848 ___bss = . ;
4949 *(.bss)
5050 *(COMMON)
5151 ___bss_end = . ;
52- } >ram
52+ } > rw
5353 }
5454
--- a/sample/arm/lpc2000/gcc/linkext.lds
+++ b/sample/arm/lpc2000/gcc/linkext.lds
@@ -4,8 +4,8 @@ ENTRY(_reset_handler)
44 MEMORY
55 {
66 vector : o = 0x80000000, l = 0x00000040
7- rom : o = 0x80000040, l = 0x0000ffc0
8- ram : o = 0x80010000, l = 0x00002000
7+ ro : o = 0x80000040, l = 0x0000ffc0
8+ rw : o = 0x80010000, l = 0x00002000
99 }
1010
1111 SECTIONS
@@ -25,7 +25,7 @@ SECTIONS
2525 *(.rodata*)
2626 *(.glue*)
2727 ___text_end = . ;
28- } > rom
28+ } > ro
2929 .tors :
3030 {
3131 . = ALIGN(4);
@@ -35,20 +35,20 @@ SECTIONS
3535 ___dtors = . ;
3636 *(.dtors)
3737 ___dtors_end = . ;
38- } > rom
38+ } > ro
3939 data : AT (ADDR(.tors) + SIZEOF(.tors))
4040 {
4141 ___data_rom = ADDR(.tors) + SIZEOF(.tors);
4242 ___data = . ;
4343 *(.data)
4444 ___data_end = . ;
45- } > ram
45+ } > rw
4646 .bss :
4747 {
4848 ___bss = . ;
4949 *(.bss)
5050 *(COMMON)
5151 ___bss_end = . ;
52- } >ram
52+ } > rw
5353 }
5454
--- a/sample/mips/jelly/gcc/ram.lds
+++ b/sample/mips/jelly/gcc/ram.lds
@@ -3,8 +3,8 @@ ENTRY(_reset_handler)
33
44 MEMORY
55 {
6- rom : o = 0x00000000, l = 0x00010000
7- ram : o = 0x00010000, l = 0x00001000
6+ ro : o = 0x00000000, l = 0x00010000
7+ rw : o = 0x00010000, l = 0x00001000
88 }
99
1010 SECTIONS
@@ -18,7 +18,7 @@ SECTIONS
1818 *(.rodata*)
1919 *(.glue*)
2020 ___text_end = . ;
21- } > rom
21+ } > ro
2222 .tors :
2323 {
2424 . = ALIGN(4);
@@ -28,7 +28,7 @@ SECTIONS
2828 ___dtors = . ;
2929 *(.dtors)
3030 ___dtors_end = . ;
31- } > rom
31+ } > ro
3232 .data : AT (ADDR(.tors) + SIZEOF(.tors))
3333 {
3434 ___data_rom = ADDR(.tors) + SIZEOF(.tors);
@@ -37,7 +37,7 @@ SECTIONS
3737 _gp = ALIGN(16) + 0x7ff0;
3838 *(.sdata)
3939 ___data_end = . ;
40- } > ram
40+ } > rw
4141 .bss :
4242 {
4343 ___bss = . ;
@@ -46,6 +46,6 @@ SECTIONS
4646 *(COMMON)
4747 *(.scommon)
4848 ___bss_end = . ;
49- } > ram
49+ } > rw
5050 }
5151
旧リポジトリブラウザで表示