1//  Memory map file to generate linker scripts for programs without board I/O.
2
3// Customer ID=7187; Build=0xac168; Copyright (c) 2004-2015 Cadence Design Systems, Inc.
4//
5// Permission is hereby granted, free of charge, to any person obtaining
6// a copy of this software and associated documentation files (the
7// "Software"), to deal in the Software without restriction, including
8// without limitation the rights to use, copy, modify, merge, publish,
9// distribute, sublicense, and/or sell copies of the Software, and to
10// permit persons to whom the Software is furnished to do so, subject to
11// the following conditions:
12//
13// The above copyright notice and this permission notice shall be included
14// in all copies or substantial portions of the Software.
15//
16// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
24
25// A memory map is a sequence of memory descriptions and
26// optional parameter assignments.
27//
28// Each memory description has the following format:
29//   BEGIN <name>
30//     <addr> [,<paddr>] : <mem-type> : <mem-name> : <size> [,<psize>]
31//                       : [writable] [,executable] [,device] ;
32//     <segment>*
33//   END <name>
34//
35// where each <segment> description has the following format:
36//     <seg-name> : F|C : <start-addr> - <end-addr> [ : STACK ] [ : HEAP ]
37//                : <section-name>* ;
38//
39// Each parameter assignment is a keyword/value pair in the following format:
40//   <keyword> = <value>                (no spaces in <value>)
41// or
42//   <keyword> = "<value>"              (spaces allowed in <value>)
43//
44// The following primitives are also defined:
45//   PLACE SECTIONS( <section-name>* ) { WITH_SECTION(<section-name>)
46//                                       | IN_SEGMENT(<seg-name>) }
47//
48//   NOLOAD <section-name1> [ <section-name2> ... ]
49//
50// Please refer to the Xtensa LSP Reference Manual for more details.
51//
52BEGIN iram0
530x580000: instRam : iram0 : 0x8000 : executable, writable ;
54 iram0_1 : F : 0x580000 - 0x5802df : .ResetVector.text .ResetHandler.literal .ResetHandler.text;
55 iram0_2 : C : 0x5802e0 - 0x5803ff : ;
56 iram0_3 : F : 0x580400 - 0x580577 : .WindowVectors.text;
57 iram0_4 : C : 0x580578 - 0x58057b : .Level2InterruptVector.literal;
58 iram0_5 : F : 0x58057c - 0x580597 : .Level2InterruptVector.text;
59 iram0_6 : C : 0x580598 - 0x58059b : .Level3InterruptVector.literal;
60 iram0_7 : F : 0x58059c - 0x5805b7 : .Level3InterruptVector.text;
61 iram0_8 : C : 0x5805b8 - 0x5805bb : .DebugExceptionVector.literal;
62 iram0_9 : F : 0x5805bc - 0x5805d7 : .DebugExceptionVector.text;
63 iram0_10 : C : 0x5805d8 - 0x5805db : .NMIExceptionVector.literal;
64 iram0_11 : F : 0x5805dc - 0x5805f7 : .NMIExceptionVector.text;
65 iram0_12 : C : 0x5805f8 - 0x5805fb : .KernelExceptionVector.literal;
66 iram0_13 : F : 0x5805fc - 0x580617 : .KernelExceptionVector.text;
67 iram0_14 : C : 0x580618 - 0x58061b : .UserExceptionVector.literal;
68 iram0_15 : F : 0x58061c - 0x580637 : .UserExceptionVector.text;
69 iram0_16 : C : 0x580638 - 0x58063b : .DoubleExceptionVector.literal;
70 iram0_17 : F : 0x58063c - 0x580657 : .DoubleExceptionVector.text;
71 iram0_0 : C : 0x580658 - 0x587fff : ;
72 END iram0
73
74BEGIN iram1
750x680000: instRam : iram1 : 0x80000 : executable, writable ;
76 iram1_0 : C : 0x680000 - 0x6fffff : .iram1.literal .iram1.text .sram.literal .literal .rtos.literal .clib.literal .sram.text .text .clib.text .rtos.text ;
77END iram1
78
79BEGIN dram0
800x20700000: dataRam : dram0 : 0x80000 : writable ;
81 dram0_0 : C : 0x20700000 - 0x2077ffff : STACK :  HEAP : .sram.rodata .clib.rodata .rtos.rodata .rodata .dram0.rodata .dram0.data .clib.data .clib.percpu.data .rtos.percpu.data .rtos.data .sram.data .data __llvm_prf_names __llvm_covmap .note.gnu.build-id .clib.bss .clib.percpu.bss .rtos.percpu.bss .rtos.bss .sram.bss .bss .dram0.bss ;
82END dram0
83
84