Last change
on this file since 600 was
451,
checked in by alain, 10 years ago
|
Modify the "router" application to support the
explicit declaration and initialisation of the MWMR channels
by the user application itself.
Introduce the file "router.py"
|
File size:
954 bytes
|
Rev | Line | |
---|
[191] | 1 | /**************************************************************************** |
---|
| 2 | * Definition of the base address for all virtual segments |
---|
| 3 | *****************************************************************************/ |
---|
| 4 | |
---|
[451] | 5 | seg_code_base = 0x10000000; |
---|
| 6 | seg_data_0_base = 0x20000000; |
---|
| 7 | seg_data_1_base = 0x30000000; |
---|
[191] | 8 | |
---|
| 9 | /*************************************************************************** |
---|
| 10 | * Grouping sections into segments for code and data |
---|
| 11 | ***************************************************************************/ |
---|
| 12 | |
---|
| 13 | SECTIONS |
---|
| 14 | { |
---|
| 15 | . = seg_code_base; |
---|
| 16 | seg_code : |
---|
| 17 | { |
---|
| 18 | *(.text) |
---|
| 19 | } |
---|
[451] | 20 | . = seg_data_0_base; |
---|
| 21 | seg_data_0 : |
---|
[191] | 22 | { |
---|
| 23 | *(.ctors) |
---|
| 24 | *(.rodata) |
---|
| 25 | *(.rodata.*) |
---|
| 26 | *(.data) |
---|
| 27 | *(.lit8) |
---|
| 28 | *(.lit4) |
---|
| 29 | *(.sdata) |
---|
| 30 | *(.bss) |
---|
| 31 | *(COMMON) |
---|
| 32 | *(.sbss) |
---|
| 33 | *(.scommon) |
---|
[451] | 34 | *(.data_in) |
---|
[191] | 35 | } |
---|
[451] | 36 | . = seg_data_1_base; |
---|
| 37 | seg_data_1 : |
---|
| 38 | { |
---|
| 39 | *(.data_out) |
---|
| 40 | } |
---|
[191] | 41 | } |
---|
| 42 | |
---|
Note: See
TracBrowser
for help on using the repository browser.