mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 01:10:28 +00:00
262c3825a9
Extend system call to alloc L2 SRAM in application. Automatically move following sections to L2 SRAM: 1. kernel built-in l2 attribute section 2. kernel module l2 attribute section 3. elf-fdpic application l2 attribute section Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
21 lines
424 B
C
21 lines
424 B
C
#ifndef _ASM_BFIN_MODULE_H
|
|
#define _ASM_BFIN_MODULE_H
|
|
|
|
#define MODULE_SYMBOL_PREFIX "_"
|
|
|
|
#define Elf_Shdr Elf32_Shdr
|
|
#define Elf_Sym Elf32_Sym
|
|
#define Elf_Ehdr Elf32_Ehdr
|
|
|
|
struct mod_arch_specific {
|
|
Elf_Shdr *text_l1;
|
|
Elf_Shdr *data_a_l1;
|
|
Elf_Shdr *bss_a_l1;
|
|
Elf_Shdr *data_b_l1;
|
|
Elf_Shdr *bss_b_l1;
|
|
Elf_Shdr *text_l2;
|
|
Elf_Shdr *data_l2;
|
|
Elf_Shdr *bss_l2;
|
|
};
|
|
#endif /* _ASM_BFIN_MODULE_H */
|