xref: /linux/arch/powerpc/platforms/cell/pervasive.h (revision 8e07e0e3964ca4e23ce7b68e2096fe660a888942)
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 
17 #ifdef CONFIG_PPC_IBM_CELL_RESETBUTTON
18 extern int cbe_sysreset_hack(void);
19 #else
20 static inline int cbe_sysreset_hack(void)
21 {
22 	return 1;
23 }
24 #endif /* CONFIG_PPC_IBM_CELL_RESETBUTTON */
25 
26 #endif
27