1 | /* |
---|
2 | * GP32 Memory Map |
---|
3 | * |
---|
4 | * Copyright (c) 2004 by Cogent Computer Systems |
---|
5 | * Written by Jay Monkman <jtm@lopingdog.com> |
---|
6 | * |
---|
7 | * The license and distribution terms for this file may be |
---|
8 | * found in the file LICENSE in this distribution or at |
---|
9 | * http://www.rtems.org/license/LICENSE. |
---|
10 | */ |
---|
11 | #include <rtems.h> |
---|
12 | #include <libcpu/mmu.h> |
---|
13 | |
---|
14 | /* Remember, the ARM920 has 64 TLBs. If you have more 1MB sections than |
---|
15 | * that, you'll have TLB lookups, which could hurt performance. |
---|
16 | */ |
---|
17 | mmu_sect_map_t mem_map[] = { |
---|
18 | /* <phys addr> <virt addr> <size> <flags> */ |
---|
19 | {0x0c000000, 0x00000000, 1, MMU_CACHE_NONE}, /* SDRAM for vectors */ |
---|
20 | {0x0c000000, 0x0c000000, 7, MMU_CACHE_WTHROUGH}, /* SDRAM W cache */ |
---|
21 | {0x0c700000, 0x0c700000, 1, MMU_CACHE_NONE}, /* SDRAM W/O cache */ |
---|
22 | {0x14000000, 0x14000000, 16, MMU_CACHE_NONE}, /* Internals Regs - */ |
---|
23 | {0x15000000, 0x15000000, 16, MMU_CACHE_NONE}, /* Internal Regs - */ |
---|
24 | {0x00000000, 0x00000000, 0, 0} /* The end */ |
---|
25 | }; |
---|