summaryrefslogtreecommitdiff
path: root/MemMap.txt
blob: f6621bc652af728ca17969c09f296a8e7f9128cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
*****************************************
*          Memory Map                   *
*****************************************

  0x3C0_0000 +---------------------+   
             |                     |   
             |      MAC Heap       |   
             ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
             ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
             |                     |   
             |                     |
             +---------------------+   
             |                     |   
             |      Stack          |   
             ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
             ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
             |                     |   
             |                     |
  0x3F4_FED8 +---------------------+
             |    Global Data      |   128 Bytes
  0x3F5_0000 +---------------------+
             |                     |
             |       Heap          |   192K Bytes
             |                     |
  0x3F8_0000 +---------------------+   
             |                     |   
             |       Code          |   
             ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
             ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
             |                     |   
             |                     |
             +---------------------+
             |       BSS           |   
             |                     |   
             ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
             ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
             |                     |   
             |                     |
  0x400_0000 +---------------------+



*****************************************
*          Source Trace                 *
*****************************************
MAC Heap:
cpu/arm920t/wmt/gmacif.h
  GMEMORY_BUFFER_START = 0x03C00000

Stack:
cpu/arm920t/start.S
  stack_setup:
  _TEXT_BASE(0x3F80000) - CFG_MALLOC_LEN(0x30000) - CFG_GBL_DATA_SIZE(0x80) = 0x3F4FED8

Global Data:
include/configs/wmt.h
  CFG_GBL_DATA_SIZE = 128

Heap:
lib_arm/Board.c
  mem_malloc_start:
  _armboot_start(0x3F80000) - CFG_MALLOC_LEN(0x30000) = 0x3F50000

Code 
board/wmt/config.mk
  TEXT_BASE = 0x03F80000

BSS:
cpu/arm920t/start.S
  __bss_start:
  board/wmt/u-boot.lds