source: trunk/platforms/caba-tsar-v0/segmentation.h @ 252

Last change on this file since 252 was 3, checked in by nipo, 15 years ago

Import platforms

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to "Author Date Id Rev URL Revision"
  • Property svn:mime-type set to text/plain
File size: 3.1 KB
Line 
1
2/////////////////////////////////////////////////////////////////
3//      ADDRESS SPACE SEGMENTATION
4//
5//      This file must be included in the system.cpp file,
6//      for harware configuration : It is used to build
7//      the SOCLIB_SEGMENT_TABLE.
8//
9//      This file can also be used by the ldscript generator,
10//      for embedded software generation.
11//     
12//      It gives the system integrator the garanty
13//      that hardware and software have the same
14//      description of the address space segmentation.
15/////////////////////////////////////////////////////////////////
16
17///////////////////////////////////////////////////////////////////////////////////
18//      reset, and exception segments
19//      base address required by MIPS processor
20///////////////////////////////////////////////////////////////////////////////////
21
22#define RESET_BASE      0xBFC00000
23#define RESET_SIZE      0x00010000
24
25#define EXCEP_BASE      0x80000000
26#define EXCEP_SIZE      0x00010000
27
28///////////////////////////////////////////////////////////////////////////////////
29//      global data segment (initialised)
30///////////////////////////////////////////////////////////////////////////////////
31
32#define MC0_M_BASE      0x10000000
33#define MC0_M_SIZE      0x00400000
34
35#define MC1_M_BASE      0x50000000
36#define MC1_M_SIZE      0x00400000
37
38#define MC2_M_BASE      0x91000000
39#define MC2_M_SIZE      0x00400000
40
41#define MC3_M_BASE      0xD0000000
42#define MC3_M_SIZE      0x00400000
43
44////////////////////////////////////////////////////////////////////////////////
45//      System devices (seen by the software)
46////////////////////////////////////////////////////////////////////////////////
47
48#define TTY_BASE        0xC1400000
49#define TTY_SIZE        0x00000100
50
51#define TIMER_BASE      0xD1400000
52#define TIMER_SIZE      0x00000100
53
54#define LOCKS_BASE      0xE1400000
55#define LOCKS_SIZE      0x00000100
56
57#define MC0_R_BASE      0x1F400000
58#define MC0_R_SIZE      0x00000008
59
60#define MC1_R_BASE      0x5F400000
61#define MC1_R_SIZE      0x00000008
62
63#define MC2_R_BASE      0x9F400000
64#define MC2_R_SIZE      0x00000008
65
66#define MC3_R_BASE      0xDF400000
67#define MC3_R_SIZE      0x00000008
68
69////////////////////////////////////////////////////////////////////////////////
70//      System devices (NOT seen by the software)
71////////////////////////////////////////////////////////////////////////////////
72
73#define PROC0_BASE      0x01400000
74#define PROC0_SIZE      0x00000008
75
76#define PROC1_BASE      0x02400000
77#define PROC1_SIZE      0x00000008
78
79#define PROC2_BASE      0x03400000
80#define PROC2_SIZE      0x00000008
81
82#define PROC3_BASE      0x04400000
83#define PROC3_SIZE      0x00000008
84
85#define PROC4_BASE      0x43400000
86#define PROC4_SIZE      0x00000008
87
88#define PROC5_BASE      0x44400000
89#define PROC5_SIZE      0x00000008
90
91#define PROC6_BASE      0x45400000
92#define PROC6_SIZE      0x00000008
93
94#define PROC7_BASE      0x46400000
95#define PROC7_SIZE      0x00000008
96
97#define PROC8_BASE      0xA3400000
98#define PROC8_SIZE      0x00000008
99
100#define PROC9_BASE      0xA4400000
101#define PROC9_SIZE      0x00000008
102
103#define PROC10_BASE     0xA5400000
104#define PROC10_SIZE     0x00000008
105
106#define PROC11_BASE     0xA6400000
107#define PROC11_SIZE     0x00000008
108
109#define PROC12_BASE     0xE2400000
110#define PROC12_SIZE     0x00000008
111
112#define PROC13_BASE     0xE3400000
113#define PROC13_SIZE     0x00000008
114
115#define PROC14_BASE     0xE4400000
116#define PROC14_SIZE     0x00000008
117
118#define PROC15_BASE     0xE5400000
119#define PROC15_SIZE     0x00000008
120
121#define CLEANUP_OFFSET  0x1F400000
Note: See TracBrowser for help on using the repository browser.