source: branches/v4/platforms/caba-vgmn-vcache2_memcache-mipsel/segmentation.h @ 707

Last change on this file since 707 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: 2.0 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#define MMU
22
23#define RESET_BASE      0xBFC00000
24#define RESET_SIZE      0x00010000
25
26#define EXCEP_BASE      0x80000080
27#define EXCEP_SIZE      0x00010000
28
29#define TEXT_BASE       0x00400000
30#define TEXT_SIZE       0x00050000
31/////////////////////////////////////////////////////////////////
32//      global data segment (initialised)
33/////////////////////////////////////////////////////////////////
34
35#define MC_M_BASE       0x10000000
36#define MC_M_SIZE       0x00100000
37
38/////////////////////////////////////////////////////////////////
39//      page table (initialised)
40/////////////////////////////////////////////////////////////////
41#define PTD_ADDR        0x40400000
42#define PTE_ADDR        0x40402000
43#define IPTE_ADDR       0x40403000
44#define TAB_SIZE        0x00010000
45
46#define V_TTY_BASE      0x00800000
47#define V_TIMER_BASE    0x00C00000      // timer virtual address
48//////////////////////////////////////////////////////////
49//      System devices
50///////////////////////////////////////////////////////////
51
52#define TTY_BASE        0xC0200000
53#define TTY_SIZE        0x00000100
54
55#define TIMER_BASE      0xD0200000
56#define TIMER_SIZE      0x00000100
57
58#define LOCKS_BASE      0xE0200000
59#define LOCKS_SIZE      0x00000100
60
61#define PROC0_BASE      0x01200000
62#define PROC0_SIZE      0x00000008
63
64#define PROC1_BASE      0x02200000
65#define PROC1_SIZE      0x00000008
66
67#define MC_R_BASE       0x20200000
68#define MC_R_SIZE       0x00000008
Note: See TracBrowser for help on using the repository browser.