~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/alpha/kernel/proto.h

Version: ~ [ linux-5.4-rc3 ] ~ [ linux-5.3.6 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.79 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.149 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.196 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.196 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.19.8 ] ~ [ linux-3.18.140 ] ~ [ linux-3.17.8 ] ~ [ linux-3.16.75 ] ~ [ linux-3.15.10 ] ~ [ linux-3.14.79 ] ~ [ linux-3.13.11 ] ~ [ linux-3.12.74 ] ~ [ linux-3.11.10 ] ~ [ linux-3.10.108 ] ~ [ linux-3.9.11 ] ~ [ linux-3.8.13 ] ~ [ linux-3.7.10 ] ~ [ linux-3.6.11 ] ~ [ linux-3.5.7 ] ~ [ linux-3.4.113 ] ~ [ linux-3.3.8 ] ~ [ linux-3.2.102 ] ~ [ linux-3.1.10 ] ~ [ linux-3.0.101 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #include <linux/interrupt.h>
  2 #include <linux/io.h>
  3 
  4 #include <asm/pgtable.h>
  5 
  6 /* Prototypes of functions used across modules here in this directory.  */
  7 
  8 #define vucp    volatile unsigned char  *
  9 #define vusp    volatile unsigned short *
 10 #define vip     volatile int *
 11 #define vuip    volatile unsigned int   *
 12 #define vulp    volatile unsigned long  *
 13 
 14 struct pt_regs;
 15 struct task_struct;
 16 struct pci_dev;
 17 struct pci_controller;
 18 
 19 /* core_apecs.c */
 20 extern struct pci_ops apecs_pci_ops;
 21 extern void apecs_init_arch(void);
 22 extern void apecs_pci_clr_err(void);
 23 extern void apecs_machine_check(unsigned long vector, unsigned long la_ptr);
 24 extern void apecs_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t);
 25 
 26 /* core_cia.c */
 27 extern struct pci_ops cia_pci_ops;
 28 extern void cia_init_pci(void);
 29 extern void cia_init_arch(void);
 30 extern void pyxis_init_arch(void);
 31 extern void cia_kill_arch(int);
 32 extern void cia_machine_check(unsigned long vector, unsigned long la_ptr);
 33 extern void cia_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t);
 34 
 35 /* core_irongate.c */
 36 extern struct pci_ops irongate_pci_ops;
 37 extern int irongate_pci_clr_err(void);
 38 extern void irongate_init_arch(void);
 39 #define irongate_pci_tbi ((void *)0)
 40 
 41 /* core_lca.c */
 42 extern struct pci_ops lca_pci_ops;
 43 extern void lca_init_arch(void);
 44 extern void lca_machine_check(unsigned long vector, unsigned long la_ptr);
 45 extern void lca_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t);
 46 
 47 /* core_marvel.c */
 48 extern struct pci_ops marvel_pci_ops;
 49 extern void marvel_init_arch(void);
 50 extern void marvel_kill_arch(int);
 51 extern void marvel_machine_check(unsigned long, unsigned long);
 52 extern void marvel_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t);
 53 extern int marvel_pa_to_nid(unsigned long);
 54 extern int marvel_cpuid_to_nid(int);
 55 extern unsigned long marvel_node_mem_start(int);
 56 extern unsigned long marvel_node_mem_size(int);
 57 extern struct _alpha_agp_info *marvel_agp_info(void);
 58 struct io7 *marvel_find_io7(int pe);
 59 struct io7 *marvel_next_io7(struct io7 *prev);
 60 void io7_clear_errors(struct io7 *io7);
 61 
 62 /* core_mcpcia.c */
 63 extern struct pci_ops mcpcia_pci_ops;
 64 extern void mcpcia_init_arch(void);
 65 extern void mcpcia_init_hoses(void);
 66 extern void mcpcia_machine_check(unsigned long vector, unsigned long la_ptr);
 67 extern void mcpcia_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t);
 68 
 69 /* core_polaris.c */
 70 extern struct pci_ops polaris_pci_ops;
 71 extern int polaris_read_config_dword(struct pci_dev *, int, u32 *);
 72 extern int polaris_write_config_dword(struct pci_dev *, int, u32);
 73 extern void polaris_init_arch(void);
 74 extern void polaris_machine_check(unsigned long vector, unsigned long la_ptr);
 75 #define polaris_pci_tbi ((void *)0)
 76 
 77 /* core_t2.c */
 78 extern struct pci_ops t2_pci_ops;
 79 extern void t2_init_arch(void);
 80 extern void t2_kill_arch(int);
 81 extern void t2_machine_check(unsigned long vector, unsigned long la_ptr);
 82 extern void t2_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t);
 83 
 84 /* core_titan.c */
 85 extern struct pci_ops titan_pci_ops;
 86 extern void titan_init_arch(void);
 87 extern void titan_kill_arch(int);
 88 extern void titan_machine_check(unsigned long, unsigned long);
 89 extern void titan_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t);
 90 extern struct _alpha_agp_info *titan_agp_info(void);
 91 
 92 /* core_tsunami.c */
 93 extern struct pci_ops tsunami_pci_ops;
 94 extern void tsunami_init_arch(void);
 95 extern void tsunami_kill_arch(int);
 96 extern void tsunami_machine_check(unsigned long vector, unsigned long la_ptr);
 97 extern void tsunami_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t);
 98 
 99 /* core_wildfire.c */
100 extern struct pci_ops wildfire_pci_ops;
101 extern void wildfire_init_arch(void);
102 extern void wildfire_kill_arch(int);
103 extern void wildfire_machine_check(unsigned long vector, unsigned long la_ptr);
104 extern void wildfire_pci_tbi(struct pci_controller *, dma_addr_t, dma_addr_t);
105 extern int wildfire_pa_to_nid(unsigned long);
106 extern int wildfire_cpuid_to_nid(int);
107 extern unsigned long wildfire_node_mem_start(int);
108 extern unsigned long wildfire_node_mem_size(int);
109 
110 /* console.c */
111 #ifdef CONFIG_VGA_HOSE
112 extern void find_console_vga_hose(void);
113 extern void locate_and_init_vga(void *(*)(void *, void *));
114 #else
115 static inline void find_console_vga_hose(void) { }
116 static inline void locate_and_init_vga(void *(*sel_func)(void *, void *)) { }
117 #endif
118 
119 /* setup.c */
120 extern unsigned long srm_hae;
121 extern int boot_cpuid;
122 #ifdef CONFIG_VERBOSE_MCHECK
123 extern unsigned long alpha_verbose_mcheck;
124 #endif
125 
126 /* srmcons.c */
127 #if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_SRM)
128 extern void register_srm_console(void);
129 extern void unregister_srm_console(void);
130 #else
131 #define register_srm_console()
132 #define unregister_srm_console()
133 #endif
134 
135 /* smp.c */
136 extern void setup_smp(void);
137 extern void handle_ipi(struct pt_regs *);
138 extern void smp_percpu_timer_interrupt(struct pt_regs *);
139 
140 /* bios32.c */
141 /* extern void reset_for_srm(void); */
142 
143 /* time.c */
144 extern irqreturn_t timer_interrupt(int irq, void *dev);
145 extern void common_init_rtc(void);
146 extern unsigned long est_cycle_freq;
147 extern unsigned int common_get_rtc_time(struct rtc_time *time);
148 extern int common_set_rtc_time(struct rtc_time *time);
149 
150 /* smc37c93x.c */
151 extern void SMC93x_Init(void);
152 
153 /* smc37c669.c */
154 extern void SMC669_Init(int);
155 
156 /* es1888.c */
157 extern void es1888_init(void);
158 
159 /* ../lib/fpreg.c */
160 extern void alpha_write_fp_reg (unsigned long reg, unsigned long val);
161 extern unsigned long alpha_read_fp_reg (unsigned long reg);
162 
163 /* head.S */
164 extern void wrmces(unsigned long mces);
165 extern void cserve_ena(unsigned long);
166 extern void cserve_dis(unsigned long);
167 extern void __smp_callin(unsigned long);
168 
169 /* entry.S */
170 extern void entArith(void);
171 extern void entIF(void);
172 extern void entInt(void);
173 extern void entMM(void);
174 extern void entSys(void);
175 extern void entUna(void);
176 extern void entDbg(void);
177 
178 /* ptrace.c */
179 extern int ptrace_set_bpt (struct task_struct *child);
180 extern int ptrace_cancel_bpt (struct task_struct *child);
181 
182 /* traps.c */
183 extern void dik_show_regs(struct pt_regs *regs, unsigned long *r9_15);
184 extern void die_if_kernel(char *, struct pt_regs *, long, unsigned long *);
185 
186 /* sys_titan.c */
187 extern void titan_dispatch_irqs(u64);
188 
189 /* ../mm/init.c */
190 extern void switch_to_system_map(void);
191 extern void srm_paging_stop(void);
192 
193 static inline int
194 __alpha_remap_area_pages(unsigned long address, unsigned long phys_addr,
195                          unsigned long size, unsigned long flags)
196 {
197         pgprot_t prot;
198 
199         prot = __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE
200                         | _PAGE_KWE | flags);
201         return ioremap_page_range(address, address + size, phys_addr, prot);
202 }
203 
204 /* irq.c */
205 
206 #ifdef CONFIG_SMP
207 #define mcheck_expected(cpu)    (cpu_data[cpu].mcheck_expected)
208 #define mcheck_taken(cpu)       (cpu_data[cpu].mcheck_taken)
209 #define mcheck_extra(cpu)       (cpu_data[cpu].mcheck_extra)
210 #else
211 extern struct mcheck_info
212 {
213         unsigned char expected __attribute__((aligned(8)));
214         unsigned char taken;
215         unsigned char extra;
216 } __mcheck_info;
217 
218 #define mcheck_expected(cpu)    (*((void)(cpu), &__mcheck_info.expected))
219 #define mcheck_taken(cpu)       (*((void)(cpu), &__mcheck_info.taken))
220 #define mcheck_extra(cpu)       (*((void)(cpu), &__mcheck_info.extra))
221 #endif
222 
223 extern void process_mcheck_info(unsigned long vector, unsigned long la_ptr,
224                                 const char *machine, int expected);
225 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp