Linux 2.6.31.6
[linux/fpc-iii.git] / arch / powerpc / platforms / cell / pervasive.h
blobfd4d7b7092b43ad1c1d64a2dc460cb0f8a92e2eb
1 /*
2 * Cell Pervasive Monitor and Debug interface and HW structures
4 * (C) Copyright IBM Corporation 2005
6 * Authors: Maximino Aguilar (maguilar@us.ibm.com)
7 * David J. Erb (djerb@us.ibm.com)
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2, or (at your option)
12 * any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 #ifndef PERVASIVE_H
26 #define PERVASIVE_H
28 extern void cbe_pervasive_init(void);
29 extern void cbe_system_error_exception(struct pt_regs *regs);
30 extern void cbe_maintenance_exception(struct pt_regs *regs);
31 extern void cbe_thermal_exception(struct pt_regs *regs);
33 #ifdef CONFIG_PPC_IBM_CELL_RESETBUTTON
34 extern int cbe_sysreset_hack(void);
35 #else
36 static inline int cbe_sysreset_hack(void)
38 return 1;
40 #endif /* CONFIG_PPC_IBM_CELL_RESETBUTTON */
42 #endif