[PARISC] Allow overriding personality with sys_personality
[linux-2.6.22.y-op.git] / include / asm-ppc / ibm4xx.h
blob499c14691c71dfe7ca8a9c043def011438d099af
1 /*
3 * Copyright (c) 1999 Grant Erickson <grant@lcse.umn.edu>
5 * Module name: ibm4xx.h
7 * Description:
8 * A generic include file which pulls in appropriate include files
9 * for specific board types based on configuration settings.
13 #ifdef __KERNEL__
14 #ifndef __ASM_IBM4XX_H__
15 #define __ASM_IBM4XX_H__
17 #include <asm/types.h>
19 #ifdef CONFIG_40x
21 #if defined(CONFIG_BUBINGA)
22 #include <platforms/4xx/bubinga.h>
23 #endif
25 #if defined(CONFIG_CPCI405)
26 #include <platforms/4xx/cpci405.h>
27 #endif
29 #if defined(CONFIG_EP405)
30 #include <platforms/4xx/ep405.h>
31 #endif
33 #if defined(CONFIG_REDWOOD_5)
34 #include <platforms/4xx/redwood5.h>
35 #endif
37 #if defined(CONFIG_REDWOOD_6)
38 #include <platforms/4xx/redwood6.h>
39 #endif
41 #if defined(CONFIG_SYCAMORE)
42 #include <platforms/4xx/sycamore.h>
43 #endif
45 #if defined(CONFIG_WALNUT)
46 #include <platforms/4xx/walnut.h>
47 #endif
49 #if defined(CONFIG_XILINX_ML300)
50 #include <platforms/4xx/xilinx_ml300.h>
51 #endif
53 #if defined(CONFIG_XILINX_ML403)
54 #include <platforms/4xx/xilinx_ml403.h>
55 #endif
57 #ifndef __ASSEMBLY__
59 #ifdef CONFIG_40x
61 * The "residual" board information structure the boot loader passes
62 * into the kernel.
64 extern bd_t __res;
65 #endif
67 void ppc4xx_setup_arch(void);
68 void ppc4xx_map_io(void);
69 void ppc4xx_init_IRQ(void);
70 void ppc4xx_init(unsigned long r3, unsigned long r4, unsigned long r5,
71 unsigned long r6, unsigned long r7);
72 #endif
74 #ifndef PPC4xx_MACHINE_NAME
75 #define PPC4xx_MACHINE_NAME "Unidentified 4xx class"
76 #endif
79 /* IO_BASE is for PCI I/O.
80 * ISA not supported, just here to resolve copilation.
83 #ifndef _IO_BASE
84 #define _IO_BASE 0xe8000000 /* The PCI address window */
85 #define _ISA_MEM_BASE 0
86 #define PCI_DRAM_OFFSET 0
87 #endif
89 #elif defined(CONFIG_44x)
91 #if defined(CONFIG_BAMBOO)
92 #include <platforms/4xx/bamboo.h>
93 #endif
95 #if defined(CONFIG_EBONY)
96 #include <platforms/4xx/ebony.h>
97 #endif
99 #if defined(CONFIG_LUAN)
100 #include <platforms/4xx/luan.h>
101 #endif
103 #if defined(CONFIG_YUCCA)
104 #include <platforms/4xx/yucca.h>
105 #endif
107 #if defined(CONFIG_OCOTEA)
108 #include <platforms/4xx/ocotea.h>
109 #endif
111 #ifndef __ASSEMBLY__
112 #ifdef CONFIG_40x
114 * The "residual" board information structure the boot loader passes
115 * into the kernel.
117 extern bd_t __res;
118 #endif
119 #endif
120 #endif /* CONFIG_40x */
122 #endif /* __ASM_IBM4XX_H__ */
123 #endif /* __KERNEL__ */