[8] | 1 | /* |
---|
| 2 | This file is part of MutekP. |
---|
| 3 | |
---|
| 4 | MutekP is free software; you can redistribute it and/or modify it |
---|
| 5 | under the terms of the GNU General Public License as published by |
---|
| 6 | the Free Software Foundation; either version 2 of the License, or |
---|
| 7 | (at your option) any later version. |
---|
| 8 | |
---|
| 9 | MutekP is distributed in the hope that it will be useful, but |
---|
| 10 | WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
| 12 | General Public License for more details. |
---|
| 13 | |
---|
| 14 | You should have received a copy of the GNU General Public License |
---|
| 15 | along with MutekP; if not, write to the Free Software Foundation, |
---|
| 16 | Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
---|
| 17 | |
---|
| 18 | UPMC / LIP6 / SOC (c) 2009 |
---|
| 19 | Copyright Ghassan Almaless <ghassan.almaless@gmail.com> |
---|
| 20 | */ |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | ///////////////////////////////////////// |
---|
| 24 | // Devices mapped segments |
---|
| 25 | ///////////////////////////////////////// |
---|
| 26 | #define LOCKS_BASE 0xd4200000 |
---|
| 27 | #define LOCKS_SIZE 0x00010000 |
---|
| 28 | |
---|
| 29 | #define TIMER_BASE 0xd3200000 |
---|
| 30 | #define TIMER_SIZE 0x00000080 |
---|
| 31 | |
---|
| 32 | #define ICU_BASE 0xd2200000 |
---|
| 33 | #define ICU_SIZE 0x00000020 |
---|
| 34 | |
---|
| 35 | #define DMA_BASE 0xd1200000 |
---|
| 36 | #define DMA_SIZE 0x00000014 |
---|
| 37 | |
---|
| 38 | #define TTY_BASE 0xd0200000 |
---|
| 39 | #define TTY_SIZE 0x00000040 |
---|
| 40 | |
---|
| 41 | #define SIMH_BASE 0xd5200000 |
---|
| 42 | #define SIMH_SIZE 0x20 |
---|
| 43 | |
---|
| 44 | //////////////////////////////////////// |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | ////////////////////////////////////////// |
---|
| 48 | // ROM mapped segments |
---|
| 49 | ////////////////////////////////////////// |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | #define BOOT_BASE 0xbfc00000 |
---|
| 53 | #define BOOT_SIZE 0x00010000 |
---|
| 54 | ////////////////////////////////////////// |
---|
| 55 | |
---|
| 56 | ////////////////////////////////////////// |
---|
| 57 | // RAM |
---|
| 58 | ////////////////////////////////////////// |
---|
| 59 | #define TEXT_BASE 0x00400000 |
---|
| 60 | #define TEXT_SIZE 0x00050000 |
---|
| 61 | |
---|
| 62 | #define EXCEP_BASE 0x80000000 |
---|
| 63 | #define EXCEP_SIZE 0x00010000 |
---|
| 64 | |
---|
| 65 | #define RAM_BASE 0x10000000 |
---|
| 66 | #define RAM_SIZE 0x01000000 |
---|
| 67 | ////////////////////////////////////////// |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | //////////////////////////////////////// |
---|
| 71 | // Reserved segments |
---|
| 72 | //////////////////////////////////////// |
---|
| 73 | |
---|
| 74 | #define PROC0_BASE 0x01200000 |
---|
| 75 | #define PROC0_SIZE 0x0000000F |
---|
| 76 | |
---|
| 77 | #define PROC1_BASE 0x02200000 |
---|
| 78 | #define PROC1_SIZE 0x0000000F |
---|
| 79 | |
---|
| 80 | #define PROC2_BASE 0x03200000 |
---|
| 81 | #define PROC2_SIZE 0x0000000F |
---|
| 82 | |
---|
| 83 | #define PROC3_BASE 0x04200000 |
---|
| 84 | #define PROC3_SIZE 0x0000000F |
---|
| 85 | |
---|
| 86 | //////////////////////////////////////// |
---|