diff options
author | Aurelien Jacquiot <a-jacquiot@ti.com> | 2011-10-04 11:12:27 -0400 |
---|---|---|
committer | Mark Salter <msalter@redhat.com> | 2011-10-06 19:48:13 -0400 |
commit | 64236ac1444eecca4b7b51270879d58bd291c8c2 (patch) | |
tree | 581a78b7095e2b86d32c5da0972eae766f64323f /arch/c6x/include | |
parent | 784bdcd0aa1d8ce38025bcfaa321146762738fe0 (diff) |
C6X: loadable module support
Original port to early 2.6 kernel using TI COFF toolchain.
Brought up to date by Mark Salter <msalter@redhat.com>
Signed-off-by: Aurelien Jacquiot <a-jacquiot@ti.com>
Signed-off-by: Mark Salter <msalter@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/c6x/include')
-rw-r--r-- | arch/c6x/include/asm/module.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/c6x/include/asm/module.h b/arch/c6x/include/asm/module.h new file mode 100644 index 000000000000..a453f9744f42 --- /dev/null +++ b/arch/c6x/include/asm/module.h | |||
@@ -0,0 +1,33 @@ | |||
1 | /* | ||
2 | * Port on Texas Instruments TMS320C6x architecture | ||
3 | * | ||
4 | * Copyright (C) 2004, 2009, 2010 Texas Instruments Incorporated | ||
5 | * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com) | ||
6 | * | ||
7 | * Updated for 2.6.34 by: Mark Salter (msalter@redhat.com) | ||
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | ||
13 | #ifndef _ASM_C6X_MODULE_H | ||
14 | #define _ASM_C6X_MODULE_H | ||
15 | |||
16 | #define Elf_Shdr Elf32_Shdr | ||
17 | #define Elf_Sym Elf32_Sym | ||
18 | #define Elf_Ehdr Elf32_Ehdr | ||
19 | #define Elf_Addr Elf32_Addr | ||
20 | #define Elf_Word Elf32_Word | ||
21 | |||
22 | /* | ||
23 | * This file contains the C6x architecture specific module code. | ||
24 | */ | ||
25 | struct mod_arch_specific { | ||
26 | }; | ||
27 | |||
28 | struct loaded_sections { | ||
29 | unsigned int new_vaddr; | ||
30 | unsigned int loaded; | ||
31 | }; | ||
32 | |||
33 | #endif /* _ASM_C6X_MODULE_H */ | ||