Mercurial > ecos
comparison packages/hal/sparclite/sleb/current/include/pkgconf/mlt_sparclite_sleb_ram.ldi @ 46:797268ecc331 ecos-sw-1999-10-19
Merge from eCos master repository on 1999-10-19-18:55:31-BST
| author | jlarmour |
|---|---|
| date | Tue, 19 Oct 1999 19:19:52 +0000 |
| parents | 443894e2e912 |
| children | c38311975d4f |
comparison
equal
deleted
inserted
replaced
| 45:91d213c0da48 | 46:797268ecc331 |
|---|---|
| 24 // ------------------------------------------- | 24 // ------------------------------------------- |
| 25 // | 25 // |
| 26 //####COPYRIGHTEND#### | 26 //####COPYRIGHTEND#### |
| 27 //=========================================================================== | 27 //=========================================================================== |
| 28 | 28 |
| 29 | |
| 30 // The ram_vectors section is to allow some free space to copy vectors into | |
| 31 // from the ROM. This is required to be variable size to accomodate SVT or | |
| 32 // MVT; 80 bytes vs 4kB. Copying is not necessary with MVT, but it is | |
| 33 // optional because it may offer performance gains. Copying is required | |
| 34 // for SVT because the (aligned) start of ROM contains initialization | |
| 35 // instructions. RAM copy is used rather than leave a big gap in the ROM | |
| 36 // to get an aligned address for the trampoline code. For RAM startup, | |
| 37 // ram_vectors will usually be of size zero, unless MVT and copying are | |
| 38 // enabled for memory estimation reasons. | |
| 39 | |
| 29 MEMORY | 40 MEMORY |
| 30 { | 41 { |
| 31 ram : ORIGIN = 0x04010000, LENGTH = 0x3f0000 | 42 ram : ORIGIN = 0x04010000, LENGTH = 0x3f0000 |
| 32 } | 43 } |
| 33 | 44 |
| 34 SECTIONS | 45 SECTIONS |
| 35 { | 46 { |
| 36 SECTIONS_BEGIN | 47 SECTIONS_BEGIN |
| 37 SECTION_rom_vectors (ram, 0x4010000, LMA_EQ_VMA) | 48 SECTION_ram_vectors (ram, 0x4010000, LMA_EQ_VMA) |
| 49 SECTION_rom_vectors (ram, ALIGN (0x8), LMA_EQ_VMA) | |
| 38 SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA) | 50 SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA) |
| 39 SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA) | 51 SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA) |
| 40 SECTION_rodata (ram, ALIGN (0x8), LMA_EQ_VMA) | 52 SECTION_rodata (ram, ALIGN (0x8), LMA_EQ_VMA) |
| 41 SECTION_rodata1 (ram, ALIGN (0x8), LMA_EQ_VMA) | 53 SECTION_rodata1 (ram, ALIGN (0x8), LMA_EQ_VMA) |
| 42 SECTION_fixup (ram, ALIGN (0x8), LMA_EQ_VMA) | 54 SECTION_fixup (ram, ALIGN (0x8), LMA_EQ_VMA) |
