1 /****************************************************************************
2 * Copyright (c) 2006 by Michael Fischer. All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 * 3. Neither the name of the author nor the names of its contributors may
14 * be used to endorse or promote products derived from this software
15 * without specific prior written permission.
17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
20 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
21 * THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
23 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
24 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
25 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
27 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 ****************************************************************************
34 * 30.03.06 mifi First Version
35 ****************************************************************************/
42 * Define stack size here
44 FIQ_STACK_SIZE = 0x0100;
45 IRQ_STACK_SIZE = 0x0100;
46 ABT_STACK_SIZE = 0x0100;
47 UND_STACK_SIZE = 0x0100;
48 SVC_STACK_SIZE = 0x0400;
53 ram : org = 0x00200000, len = 64k
57 * Do not change the next code
82 PROVIDE (__data_start = .);
87 PROVIDE (__data_end = .);
92 PROVIDE (__bss_start = .);
96 PROVIDE (__bss_end = .);
100 PROVIDE (__stack_start = .);
102 PROVIDE (__stack_fiq_start = .);
105 PROVIDE (__stack_fiq_end = .);
107 PROVIDE (__stack_irq_start = .);
110 PROVIDE (__stack_irq_end = .);
112 PROVIDE (__stack_abt_start = .);
115 PROVIDE (__stack_abt_end = .);
117 PROVIDE (__stack_und_start = .);
120 PROVIDE (__stack_und_end = .);
122 PROVIDE (__stack_svc_start = .);
125 PROVIDE (__stack_svc_end = .);
126 PROVIDE (__stack_end = .);
127 PROVIDE (__heap_start = .);