sim85e2.ld 988 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* Linker script for the sim85e2c simulator, which is a verilog simulation of
  2. the V850E2 NA85E2C cpu core (CONFIG_V850E2_SIM85E2C). */
  3. MEMORY {
  4. /* 1MB of `instruction RAM', starting at 0.
  5. Instruction fetches are much faster from IRAM than from DRAM. */
  6. IRAM : ORIGIN = IRAM_ADDR, LENGTH = IRAM_SIZE
  7. /* 1MB of `data RAM', below and contiguous with the I/O space.
  8. Data fetches are much faster from DRAM than from IRAM. */
  9. DRAM : ORIGIN = DRAM_ADDR, LENGTH = DRAM_SIZE
  10. /* `external ram' (CS1 area), comes after IRAM. */
  11. ERAM : ORIGIN = ERAM_ADDR, LENGTH = ERAM_SIZE
  12. /* Dynamic RAM; uses memory controller. */
  13. SDRAM : ORIGIN = SDRAM_ADDR, LENGTH = SDRAM_SIZE
  14. }
  15. SECTIONS {
  16. .iram : {
  17. INTV_CONTENTS
  18. *arch/v850/kernel/head.o
  19. *(.early.text)
  20. } > IRAM
  21. .dram : {
  22. _memcons_output = . ;
  23. . = . + 0x8000 ;
  24. _memcons_output_end = . ;
  25. } > DRAM
  26. .sdram : {
  27. /* We stick console output into a buffer here. */
  28. RAMK_KRAM_CONTENTS
  29. ROOT_FS_CONTENTS
  30. } > SDRAM
  31. }