• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/powerpc/platforms/pseries/
1/*
2 * Copyright 2006 IBM Corporation.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */
9
10#ifndef _PSERIES_PSERIES_H
11#define _PSERIES_PSERIES_H
12
13#include <linux/interrupt.h>
14
15struct device_node;
16
17extern void request_event_sources_irqs(struct device_node *np,
18				       irq_handler_t handler, const char *name);
19
20extern void __init fw_feature_init(const char *hypertas, unsigned long len);
21
22struct pt_regs;
23
24extern int pSeries_system_reset_exception(struct pt_regs *regs);
25extern int pSeries_machine_check_exception(struct pt_regs *regs);
26
27#ifdef CONFIG_SMP
28extern void smp_init_pseries_mpic(void);
29extern void smp_init_pseries_xics(void);
30#else
31static inline void smp_init_pseries_mpic(void) { };
32static inline void smp_init_pseries_xics(void) { };
33#endif
34
35#ifdef CONFIG_KEXEC
36extern void setup_kexec_cpu_down_xics(void);
37extern void setup_kexec_cpu_down_mpic(void);
38#else
39static inline void setup_kexec_cpu_down_xics(void) { }
40static inline void setup_kexec_cpu_down_mpic(void) { }
41#endif
42
43extern void pSeries_final_fixup(void);
44
45/* Poweron flag used for enabling auto ups restart */
46extern unsigned long rtas_poweron_auto;
47
48extern void find_udbg_vterm(void);
49
50#endif /* _PSERIES_PSERIES_H */
51