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