Last change
on this file since 472 was
457,
checked in by alain, 10 years ago
|
Introducing the "classif" application.
Updating the "transpose", "convol", and "router" applications.
|
File size:
2.5 KB
|
Rev | Line | |
---|
[457] | 1 | /**************************************************************************** |
---|
| 2 | * Definition of the base address for all virtual segments |
---|
| 3 | *****************************************************************************/ |
---|
| 4 | |
---|
| 5 | seg_code_base = 0x10000000; |
---|
| 6 | |
---|
| 7 | seg_data_0_0_base = 0x20000000; |
---|
| 8 | seg_data_0_1_base = 0x20010000; |
---|
| 9 | seg_data_0_2_base = 0x20020000; |
---|
| 10 | seg_data_0_3_base = 0x20030000; |
---|
| 11 | |
---|
| 12 | seg_data_1_0_base = 0x20040000; |
---|
| 13 | seg_data_1_1_base = 0x20050000; |
---|
| 14 | seg_data_1_2_base = 0x20060000; |
---|
| 15 | seg_data_1_3_base = 0x20070000; |
---|
| 16 | |
---|
| 17 | seg_data_2_0_base = 0x20080000; |
---|
| 18 | seg_data_2_1_base = 0x20090000; |
---|
| 19 | seg_data_2_2_base = 0x200A0000; |
---|
| 20 | seg_data_2_3_base = 0x200B0000; |
---|
| 21 | |
---|
| 22 | seg_data_3_0_base = 0x200C0000; |
---|
| 23 | seg_data_3_1_base = 0x200D0000; |
---|
| 24 | seg_data_3_2_base = 0x200E0000; |
---|
| 25 | seg_data_3_3_base = 0x200F0000; |
---|
| 26 | |
---|
| 27 | /*************************************************************************** |
---|
| 28 | * Grouping sections into segments for code and data |
---|
| 29 | ***************************************************************************/ |
---|
| 30 | |
---|
| 31 | SECTIONS |
---|
| 32 | { |
---|
| 33 | . = seg_code_base; |
---|
| 34 | seg_code : |
---|
| 35 | { |
---|
| 36 | *(.text) |
---|
| 37 | } |
---|
| 38 | |
---|
| 39 | . = seg_data_0_0_base; |
---|
| 40 | seg_data_0_0 : |
---|
| 41 | { |
---|
| 42 | *(.ctors) |
---|
| 43 | *(.rodata) |
---|
| 44 | *(.rodata.*) |
---|
| 45 | *(.data) |
---|
| 46 | *(.lit8) |
---|
| 47 | *(.lit4) |
---|
| 48 | *(.sdata) |
---|
| 49 | *(.bss) |
---|
| 50 | *(COMMON) |
---|
| 51 | *(.sbss) |
---|
| 52 | *(.scommon) |
---|
| 53 | *(.data_0_0) |
---|
| 54 | } |
---|
| 55 | . = seg_data_0_1_base; |
---|
| 56 | seg_data_0_1 : |
---|
| 57 | { |
---|
| 58 | *(.data_0_1) |
---|
| 59 | } |
---|
| 60 | . = seg_data_0_2_base; |
---|
| 61 | seg_data_0_2 : |
---|
| 62 | { |
---|
| 63 | *(.data_0_2) |
---|
| 64 | } |
---|
| 65 | . = seg_data_0_3_base; |
---|
| 66 | seg_data_0_3 : |
---|
| 67 | { |
---|
| 68 | *(.data_0_3) |
---|
| 69 | } |
---|
| 70 | |
---|
| 71 | . = seg_data_1_0_base; |
---|
| 72 | seg_data_1_0 : |
---|
| 73 | { |
---|
| 74 | *(.data_1_0) |
---|
| 75 | } |
---|
| 76 | . = seg_data_1_1_base; |
---|
| 77 | seg_data_1_1 : |
---|
| 78 | { |
---|
| 79 | *(.data_1_1) |
---|
| 80 | } |
---|
| 81 | . = seg_data_1_2_base; |
---|
| 82 | seg_data_1_2 : |
---|
| 83 | { |
---|
| 84 | *(.data_1_2) |
---|
| 85 | } |
---|
| 86 | . = seg_data_1_3_base; |
---|
| 87 | seg_data_1_3 : |
---|
| 88 | { |
---|
| 89 | *(.data_1_3) |
---|
| 90 | } |
---|
| 91 | |
---|
| 92 | . = seg_data_2_0_base; |
---|
| 93 | seg_data_2_0 : |
---|
| 94 | { |
---|
| 95 | *(.data_2_0) |
---|
| 96 | } |
---|
| 97 | . = seg_data_2_1_base; |
---|
| 98 | seg_data_2_1 : |
---|
| 99 | { |
---|
| 100 | *(.data_2_1) |
---|
| 101 | } |
---|
| 102 | . = seg_data_2_2_base; |
---|
| 103 | seg_data_2_2 : |
---|
| 104 | { |
---|
| 105 | *(.data_2_2) |
---|
| 106 | } |
---|
| 107 | . = seg_data_2_3_base; |
---|
| 108 | seg_data_2_3 : |
---|
| 109 | { |
---|
| 110 | *(.data_2_3) |
---|
| 111 | } |
---|
| 112 | |
---|
| 113 | . = seg_data_3_0_base; |
---|
| 114 | seg_data_3_0 : |
---|
| 115 | { |
---|
| 116 | *(.data_3_0) |
---|
| 117 | } |
---|
| 118 | . = seg_data_3_1_base; |
---|
| 119 | seg_data_3_1 : |
---|
| 120 | { |
---|
| 121 | *(.data_3_1) |
---|
| 122 | } |
---|
| 123 | . = seg_data_3_2_base; |
---|
| 124 | seg_data_3_2 : |
---|
| 125 | { |
---|
| 126 | *(.data_3_2) |
---|
| 127 | } |
---|
| 128 | . = seg_data_3_3_base; |
---|
| 129 | seg_data_3_3 : |
---|
| 130 | { |
---|
| 131 | *(.data_3_3) |
---|
| 132 | } |
---|
| 133 | } |
---|
| 134 | |
---|
Note: See
TracBrowser
for help on using the repository browser.