aebda6127564677b045e8e841c3f7fddc46b437a
1 /************************************************************************************
2 * FILE PURPOSE: Provide common memory and sections definitions for ibl_init and ibl
3 ************************************************************************************
4 * FILE NAME: ibl_common.inc
5 *
6 * DESCRIPTION: Defines the common memory map and section placement required
7 * to get ibl and ibl_init to work together in a two stage load
8 * process.
9 *************************************************************************************/
11 -c
12 -stack 0x800
13 -heap 0x6000
16 MEMORY
17 {
18 TEXT_INIT : origin = 0x800000, length = 0x2700
19 TEXT : origin = 0x802700, length = 0xd900
20 STACK : origin = 0x810000, length = 0x0800
21 HEAP : origin = 0x810800, length = 0x6000
22 DATA_INIT : origin = 0x816800, length = 0x0200
23 DATA : origin = 0x816a00, length = 0x2e00
24 CFG : origin = 0x819800, length = 0x0300
25 STAT : origin = 0x819b00, length = 0x0200
26 }
29 SECTIONS
30 {
31 .stack > STACK
32 .sysmem > HEAP
34 .ibl_config_table > CFG
35 .ibl_status_table > STAT
37 }