Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1 | #ifndef _ASM_BFIN_MODULE_H |
2 | #define _ASM_BFIN_MODULE_H | ||||
3 | |||||
4 | #define MODULE_SYMBOL_PREFIX "_" | ||||
5 | |||||
6 | #define Elf_Shdr Elf32_Shdr | ||||
7 | #define Elf_Sym Elf32_Sym | ||||
8 | #define Elf_Ehdr Elf32_Ehdr | ||||
9 | #define FLG_CODE_IN_L1 0x10 | ||||
10 | #define FLG_DATA_IN_L1 0x20 | ||||
11 | |||||
12 | struct mod_arch_specific { | ||||
13 | Elf_Shdr *text_l1; | ||||
14 | Elf_Shdr *data_a_l1; | ||||
15 | Elf_Shdr *bss_a_l1; | ||||
16 | Elf_Shdr *data_b_l1; | ||||
17 | Elf_Shdr *bss_b_l1; | ||||
18 | }; | ||||
19 | #endif /* _ASM_BFIN_MODULE_H */ |