13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Linker Script Language (LSL)}page_size = 1;stack name (min_size = 1k, grows = low_to_high);reserved start_address .. end_address;start_address ( run_addr = 0x0000,symbol = "start_label" )map ( map_description );16.4.4. MappingsYou can use a mapping when you define a space, bus or memory. With the map field you specify howaddresses from the source (space, bus or memory) are translated to addresses of a destination (space,bus). The following mappings are possible:• space => space• space => bus• bus => bus• memory => busWith a mapping you specify a range of source addresses you want to map (specified by a source offsetand a size), the destination to which you want to map them (a bus or another address space), and theoffset address in the destination.• The dest argument specifies the destination. This can be a bus or another address space (only <strong>for</strong>a space to space mapping). This argument is required.• The src_offset argument specifies the offset of the source addresses. In combination with size, thisspecifies the range of address that are mapped. By default the source offset is 0x0000.• The size argument specifies the number of addresses that are mapped. This argument is required.• The dest_offset argument specifies the position in the destination to which the specified range ofaddresses is mapped. By default the destination offset is 0x0000.If you are mapping a bus to another bus, the number of data lines of each bus may differ. In this caseyou have to specify a range of source data lines you want to map (src_dbits = begin..end) and therange of destination data lines you want to map them to (dest_dbits = first..last).• The src_dbits argument specifies a range of data lines of the source bus. By default all data linesare mapped.• The dest_dbits argument specifies a range of data lines of the destination bus. By default, all datalines from the source bus are mapped on the data lines of the destination bus (starting with line 0).If you define a memory and the memory mapping must not be used by default when locating sections inaddress spaces, you can specify the reserved argument. This marks all address space areas that themapping points to as reserved. If a section has an absolute or address range restriction, the reservationis lifted and the section may be located at these locations. This feature is only useful when more than825

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!