source: branches/v4/platforms/caba-new_vdspin-test/segmentation.h @ 992

Last change on this file since 992 was 87, checked in by simerabe, 14 years ago

platform for new vdspin_router/vci_local_ring_fast

File size: 3.2 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 guaranty
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#define MMU
22
23#define RESET_BASE      0xBFC00000
24#define RESET_SIZE      0x00001000      // 4 k
25
26#define EXCEP_BASE      0x80000080
27#define EXCEP_SIZE      0x00001000      // 4 k
28
29#define TEXT_BASE       0x00400000
30#define TEXT_SIZE       0x00050000      // 20 k
31///////////////////////////////////////////////////////////////////////////////////
32//      global data segment (initialised)
33///////////////////////////////////////////////////////////////////////////////////
34
35#define DATA0_BASE      0x10000000
36#define DATA0_SIZE      0x00100000     // 256 k
37
38#define DATA1_BASE      0x50000000
39#define DATA1_SIZE      0x00100000
40
41#define DATA2_BASE      0x90000000
42#define DATA2_SIZE      0x00100000
43
44#define DATA3_BASE      0xE0000000
45#define DATA3_SIZE      0x00100000
46
47/////////////////////////////////////////////////////////////////
48//      page table (initialised)
49/////////////////////////////////////////////////////////////////
50#define PTD_ADDR        0x40400000
51#define PTE_ADDR        0x40402000
52#define IPTE_ADDR       0x40403000
53#define TAB_SIZE        0x00010000      // 64 k
54
55#define V_TTY_BASE      0x00800000
56#define V_TIMER_BASE    0x00C00000      // timer virtual address
57//////////////////////////////////////////////////////////
58//      System devices
59///////////////////////////////////////////////////////////
60
61#define TTY_BASE        0xC0200000 
62#define TTY_SIZE        0x00000100  // 256
63
64#define TIMER_BASE      0xD0200000
65#define TIMER_SIZE      0x00000100
66
67#define LOCKS_BASE      0xE0200000
68#define LOCKS_SIZE      0x00000100
69
70#define PROC0_BASE      0x01400000
71#define PROC0_SIZE      0x0000000A
72
73#define PROC1_BASE      0x02400000
74#define PROC1_SIZE      0x0000000A
75
76#define PROC2_BASE      0x03400000
77#define PROC2_SIZE      0x0000000A
78
79#define PROC3_BASE      0x04400000
80#define PROC3_SIZE      0x0000000A
81
82#define PROC4_BASE      0x43400000
83#define PROC4_SIZE      0x0000000A
84
85#define PROC5_BASE      0x44400000
86#define PROC5_SIZE      0x0000000A
87
88#define PROC6_BASE      0x45400000
89#define PROC6_SIZE      0x0000000A
90
91#define PROC7_BASE      0x46400000
92#define PROC7_SIZE      0x0000000A
93
94#define PROC8_BASE      0xA3400000
95#define PROC8_SIZE      0x0000000A
96
97#define PROC9_BASE      0xA4400000
98#define PROC9_SIZE      0x0000000A
99
100#define PROC10_BASE     0xA5400000
101#define PROC10_SIZE     0x0000000A
102
103#define PROC11_BASE     0xA6400000
104#define PROC11_SIZE     0x0000000A
105
106#define PROC12_BASE     0xE2400000
107#define PROC12_SIZE     0x0000000A
108
109#define PROC13_BASE     0xE3400000
110#define PROC13_SIZE     0x0000000A
111
112#define PROC14_BASE     0xE4400000
113#define PROC14_SIZE     0x0000000A
114
115#define PROC15_BASE     0xE5400000
116#define PROC15_SIZE     0x0000000A
117
Note: See TracBrowser for help on using the repository browser.