source: branches/v4/platforms/caba-vgmn-memcache-mipsel/segmentation.h @ 449

Last change on this file since 449 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: 1.6 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 MC_M_BASE       0x10000000
33#define MC_M_SIZE       0x00400000
34
35//////////////////////////////////////////////////////////
36//      System devices (seen by the software)
37///////////////////////////////////////////////////////////
38
39#define TTY_BASE        0xC0400000
40#define TTY_SIZE        0x00000100
41
42#define TIMER_BASE      0xD0400000
43#define TIMER_SIZE      0x00000100
44
45#define LOCKS_BASE      0xE0400000
46#define LOCKS_SIZE      0x00000100
47
48#define PROC_BASE       0xF0400000
49#define PROC_SIZE       0x00000008
50
51#define XRAM_BASE       0xB0400000
52#define XRAM_SIZE       0x00000008
53
54#define MC_R_BASE       0x20400000
55#define MC_R_SIZE       0x00000008
56
57#define CLEANUP_OFFSET  0x20400000
Note: See TracBrowser for help on using the repository browser.