1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Cell Pervasive Monitor and Debug interface and HW structures
4  *
5  * (C) Copyright IBM Corporation 2005
6  *
7  * Authors: Maximino Aguilar (maguilar@us.ibm.com)
8  *          David J. Erb (djerb@us.ibm.com)
9  */
10 
11 
12 #ifndef PERVASIVE_H
13 #define PERVASIVE_H
14 
15 extern void cbe_pervasive_init(void);
16 extern void cbe_system_error_exception(struct pt_regs *regs);
17 extern void cbe_maintenance_exception(struct pt_regs *regs);
18 extern void cbe_thermal_exception(struct pt_regs *regs);
19 
20 #ifdef CONFIG_PPC_IBM_CELL_RESETBUTTON
21 extern int cbe_sysreset_hack(void);
22 #else
23 static inline int cbe_sysreset_hack(void)
24 {
25 	return 1;
26 }
27 #endif /* CONFIG_PPC_IBM_CELL_RESETBUTTON */
28 
29 #endif
30