diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/v850/kernel/sim85e2.ld |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'arch/v850/kernel/sim85e2.ld')
-rw-r--r-- | arch/v850/kernel/sim85e2.ld | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/v850/kernel/sim85e2.ld b/arch/v850/kernel/sim85e2.ld new file mode 100644 index 000000000000..7470fd2ffb5b --- /dev/null +++ b/arch/v850/kernel/sim85e2.ld | |||
@@ -0,0 +1,36 @@ | |||
1 | /* Linker script for the sim85e2c simulator, which is a verilog simulation of | ||
2 | the V850E2 NA85E2C cpu core (CONFIG_V850E2_SIM85E2C). */ | ||
3 | |||
4 | MEMORY { | ||
5 | /* 1MB of `instruction RAM', starting at 0. | ||
6 | Instruction fetches are much faster from IRAM than from DRAM. */ | ||
7 | IRAM : ORIGIN = IRAM_ADDR, LENGTH = IRAM_SIZE | ||
8 | |||
9 | /* 1MB of `data RAM', below and contiguous with the I/O space. | ||
10 | Data fetches are much faster from DRAM than from IRAM. */ | ||
11 | DRAM : ORIGIN = DRAM_ADDR, LENGTH = DRAM_SIZE | ||
12 | |||
13 | /* `external ram' (CS1 area), comes after IRAM. */ | ||
14 | ERAM : ORIGIN = ERAM_ADDR, LENGTH = ERAM_SIZE | ||
15 | |||
16 | /* Dynamic RAM; uses memory controller. */ | ||
17 | SDRAM : ORIGIN = SDRAM_ADDR, LENGTH = SDRAM_SIZE | ||
18 | } | ||
19 | |||
20 | SECTIONS { | ||
21 | .iram : { | ||
22 | INTV_CONTENTS | ||
23 | *arch/v850/kernel/head.o | ||
24 | *(.early.text) | ||
25 | } > IRAM | ||
26 | .dram : { | ||
27 | _memcons_output = . ; | ||
28 | . = . + 0x8000 ; | ||
29 | _memcons_output_end = . ; | ||
30 | } > DRAM | ||
31 | .sdram : { | ||
32 | /* We stick console output into a buffer here. */ | ||
33 | RAMK_KRAM_CONTENTS | ||
34 | ROOT_FS_CONTENTS | ||
35 | } > SDRAM | ||
36 | } | ||