Rev 422 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
422 | giacomo | 1 | #ifndef _ASM_I386_MODULE_H |
2 | #define _ASM_I386_MODULE_H |
||
3 | |||
4 | #include <linuxcomp.h> |
||
5 | |||
6 | /* x86 is simple */ |
||
7 | struct mod_arch_specific |
||
8 | { |
||
9 | }; |
||
10 | |||
11 | #define Elf_Shdr Elf32_Shdr |
||
12 | #define Elf_Sym Elf32_Sym |
||
13 | #define Elf_Ehdr Elf32_Ehdr |
||
14 | |||
15 | #ifdef CONFIG_M386 |
||
16 | #define MODULE_PROC_FAMILY "386 " |
||
17 | #elif defined CONFIG_M486 |
||
18 | #define MODULE_PROC_FAMILY "486 " |
||
19 | #elif defined CONFIG_M586 |
||
20 | #define MODULE_PROC_FAMILY "586 " |
||
21 | #elif defined CONFIG_M586TSC |
||
22 | #define MODULE_PROC_FAMILY "586TSC " |
||
23 | #elif defined CONFIG_M586MMX |
||
24 | #define MODULE_PROC_FAMILY "586MMX " |
||
25 | #elif defined CONFIG_M686 |
||
26 | #define MODULE_PROC_FAMILY "686 " |
||
27 | #elif defined CONFIG_MPENTIUMII |
||
28 | #define MODULE_PROC_FAMILY "PENTIUMII " |
||
29 | #elif defined CONFIG_MPENTIUMIII |
||
30 | #define MODULE_PROC_FAMILY "PENTIUMIII " |
||
31 | #elif defined CONFIG_MPENTIUM4 |
||
32 | #define MODULE_PROC_FAMILY "PENTIUM4 " |
||
33 | #elif defined CONFIG_MK6 |
||
34 | #define MODULE_PROC_FAMILY "K6 " |
||
35 | #elif defined CONFIG_MK7 |
||
36 | #define MODULE_PROC_FAMILY "K7 " |
||
37 | #elif defined CONFIG_MK8 |
||
38 | #define MODULE_PROC_FAMILY "K8 " |
||
39 | #elif defined CONFIG_MELAN |
||
40 | #define MODULE_PROC_FAMILY "ELAN " |
||
41 | #elif defined CONFIG_MCRUSOE |
||
42 | #define MODULE_PROC_FAMILY "CRUSOE " |
||
43 | #elif defined CONFIG_MWINCHIPC6 |
||
44 | #define MODULE_PROC_FAMILY "WINCHIPC6 " |
||
45 | #elif defined CONFIG_MWINCHIP2 |
||
46 | #define MODULE_PROC_FAMILY "WINCHIP2 " |
||
47 | #elif defined CONFIG_MWINCHIP3D |
||
48 | #define MODULE_PROC_FAMILY "WINCHIP3D " |
||
49 | #elif defined CONFIG_MCYRIXIII |
||
50 | #define MODULE_PROC_FAMILY "CYRIXIII " |
||
51 | #elif CONFIG_MVIAC3_2 |
||
52 | #define MODULE_PROC_FAMILY "VIAC3-2 " |
||
53 | #else |
||
54 | #error unknown processor family |
||
55 | #endif |
||
56 | |||
57 | #define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY |
||
58 | |||
59 | #endif /* _ASM_I386_MODULE_H */ |