1 #define VMLINUX_SYMBOL(_sym_) _##_sym_
2 #include <asm-generic/vmlinux.lds.h>
3 #include <linux/config.h>
5 /* target memory map */
6 #ifdef CONFIG_H8300H_GENERIC
7 #define ROMTOP 0x000000
8 #define ROMSIZE 0x400000
9 #define RAMTOP 0x400000
10 #define RAMSIZE 0x400000
13 #ifdef CONFIG_H8300H_AKI3068NET
14 #define ROMTOP 0x000000
15 #define ROMSIZE 0x080000
16 #define RAMTOP 0x400000
17 #define RAMSIZE 0x200000
20 #ifdef CONFIG_H8300H_H8MAX
21 #define ROMTOP 0x000000
22 #define ROMSIZE 0x080000
23 #define RAMTOP 0x400000
24 #define RAMSIZE 0x200000
27 #ifdef CONFIG_H8300H_SIM
28 #define ROMTOP 0x000000
29 #define ROMSIZE 0x400000
30 #define RAMTOP 0x400000
31 #define RAMSIZE 0x400000
35 #define ROMTOP 0x000000
36 #define ROMSIZE 0x400000
37 #define RAMTOP 0x400000
38 #define RAMSIZE 0x800000
41 #ifdef CONFIG_H8S_EDOSK2674
42 #define ROMTOP 0x000000
43 #define ROMSIZE 0x400000
44 #define RAMTOP 0x400000
45 #define RAMSIZE 0x800000
48 #if defined(CONFIG_H8300H_SIM) || defined(CONFIG_H8S_SIM)
52 _jiffies = _jiffies_64 + 4;
58 #if defined(CONFIG_ROMKERNEL)
74 #if defined(CONFIG_ROMKERNEL)
82 . = ALIGN(16); /* Exception table */
83 ___start___ex_table = .;
85 ___stop___ex_table = .;
89 #if defined(CONFIG_ROMKERNEL)
93 #if defined(CONFIG_ROMKERNEL)
121 ___initcall_start = .;
130 ___con_initcall_start = .;
131 *(.con_initcall.init)
132 ___con_initcall_end = .;
136 ___initramfs_start = .;
138 ___initramfs_end = .;
143 #if defined(CONFIG_RAMKERNEL)
146 __begin_data = LOADADDR(.data);
169 COMMAND_START = . - 0x200 ;