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
15extern void cbe_pervasive_init(void);
16extern void cbe_system_error_exception(struct pt_regs *regs);
17extern void cbe_maintenance_exception(struct pt_regs *regs);
18extern void cbe_thermal_exception(struct pt_regs *regs);
19
20#ifdef CONFIG_PPC_IBM_CELL_RESETBUTTON
21extern int cbe_sysreset_hack(void);
22#else
23static inline int cbe_sysreset_hack(void)
24{
25	return 1;
26}
27#endif /* CONFIG_PPC_IBM_CELL_RESETBUTTON */
28
29#endif
30