[107] | 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 RESET_BASE 0xBFC00000 |
---|
| 22 | #define RESET_SIZE 0x00010000 |
---|
| 23 | |
---|
| 24 | #define EXCEP_BASE 0x80000000 |
---|
| 25 | #define EXCEP_SIZE 0x00010000 |
---|
| 26 | |
---|
| 27 | #define TEXT_BASE 0x00400000 |
---|
| 28 | #define TEXT_SIZE 0x00050000 |
---|
[134] | 29 | |
---|
[107] | 30 | ///////////////////////////////////////////////////////////////// |
---|
| 31 | // global data segment (initialised) |
---|
| 32 | ///////////////////////////////////////////////////////////////// |
---|
| 33 | |
---|
| 34 | #define MC_M_BASE 0x10000000 |
---|
[134] | 35 | #define MC_M_SIZE 0x000F0000 |
---|
[107] | 36 | |
---|
| 37 | ////////////////////////////////////////////////////////// |
---|
| 38 | // System devices |
---|
| 39 | /////////////////////////////////////////////////////////// |
---|
| 40 | |
---|
| 41 | #define TTY_BASE 0xC0200000 |
---|
| 42 | #define TTY_SIZE 0x00000100 |
---|
| 43 | |
---|
[134] | 44 | #define XICU_BASE 0xD0200000 |
---|
| 45 | #define XICU_SIZE 0x00000100 |
---|
[107] | 46 | |
---|
[134] | 47 | #define SIMHELPER_BASE 0xF0200000 |
---|
| 48 | #define SIMHELPER_SIZE 0x00000100 |
---|
[107] | 49 | |
---|
[134] | 50 | #define C_PROC_BASE 0x01200000 |
---|
| 51 | #define C_PROC_SIZE 0x00000010 |
---|
| 52 | #define C_PROC_SPAN 0x01000000 |
---|
[107] | 53 | |
---|
[134] | 54 | #define MC_R_BASE 0x20200000 |
---|
| 55 | #define MC_R_SIZE 0x00000008 |
---|
[107] | 56 | |
---|
[134] | 57 | //#define C_MC_M_BASE 0x00200000 |
---|
| 58 | //#define C_MC_M_SIZE 0x00000008 |
---|
[107] | 59 | |
---|
[134] | 60 | //#define XRAM_BASE 0xB0200000 |
---|
| 61 | //#define XRAM_SIZE 0x00000008 |
---|
[107] | 62 | |
---|
[134] | 63 | //#define CLEANUP_OFFSET 0x20200000 |
---|