source: trunk/IPs/systemC/shared/mapping_memory.h @ 146

Last change on this file since 146 was 138, checked in by rosiere, 14 years ago

1) add counters_t type for interface
2) fix in check load in load_store_unit
3) add parameters (but not yet implemented)
4) change environment and add script (distcc_env.sh ...)
5) add warning if an unser change rename flag with l.mtspr instruction
6) ...

File size: 1.3 KB
Line 
1#  ifndef MAPPING_MEMORY_H
2#  define MAPPING_MEMORY_H
3
4#  define TEXT_BASE            0x00000000
5#  define TEXT_SIZE            0x01000000
6
7#  define DATA_CACHED_BASE     0x10000000
8#  define DATA_CACHED_SIZE     0x05000000
9
10#  define DATA_STACK_BASE      0x40000000
11#  define DATA_STACK_SIZE      0x05000000
12
13#  define DATA_UNCACHED_BASE   0x80000000
14#  define DATA_UNCACHED_SIZE   0x01000000
15
16#  define TTY_BASE             0xa0000000
17//#define TTY_SIZE             nb_tty*4*4   
18//                                          (word access)
19//                                           word 0 : write tty
20//                                           word 1 : stop
21//                                           word 2 : print word
22//                                           word 3 : unused
23
24#  define RAMLOCK_BASE         0xb0000000
25//#define RAMLOCK_SIZE         nb_ramlock   
26//                                          (char access)
27
28#  define SIM2OS_BASE          0xc0000000
29#  define SIM2OS_SIZE          0x00001000
30//                                          (word access)
31//                                           word 0 : number of service
32//                                           word 1 : result
33//                                           word 2 : error
34//                                           word 3+: arguments
35
36#endif
Note: See TracBrowser for help on using the repository browser.