pseries.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. #ifndef _PSERIES_PSERIES_H
  10. #define _PSERIES_PSERIES_H
  11. extern void __init fw_feature_init(const char *hypertas, unsigned long len);
  12. struct pt_regs;
  13. extern int pSeries_system_reset_exception(struct pt_regs *regs);
  14. extern int pSeries_machine_check_exception(struct pt_regs *regs);
  15. #ifdef CONFIG_SMP
  16. extern void smp_init_pseries_mpic(void);
  17. extern void smp_init_pseries_xics(void);
  18. #else
  19. static inline void smp_init_pseries_mpic(void) { };
  20. static inline void smp_init_pseries_xics(void) { };
  21. #endif
  22. #ifdef CONFIG_KEXEC
  23. extern void setup_kexec_cpu_down_xics(void);
  24. extern void setup_kexec_cpu_down_mpic(void);
  25. #else
  26. static inline void setup_kexec_cpu_down_xics(void) { }
  27. static inline void setup_kexec_cpu_down_mpic(void) { }
  28. #endif
  29. extern void pSeries_final_fixup(void);
  30. /* Poweron flag used for enabling auto ups restart */
  31. extern unsigned long rtas_poweron_auto;
  32. extern void find_udbg_vterm(void);
  33. #endif /* _PSERIES_PSERIES_H */