Path: blob/master/arch/powerpc/platforms/cell/pervasive.h
10818 views
/*1* Cell Pervasive Monitor and Debug interface and HW structures2*3* (C) Copyright IBM Corporation 20054*5* Authors: Maximino Aguilar ([email protected])6* David J. Erb ([email protected])7*8* This program is free software; you can redistribute it and/or modify9* it under the terms of the GNU General Public License as published by10* the Free Software Foundation; either version 2, or (at your option)11* any later version.12*13* This program is distributed in the hope that it will be useful,14* but WITHOUT ANY WARRANTY; without even the implied warranty of15* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the16* GNU General Public License for more details.17*18* You should have received a copy of the GNU General Public License19* along with this program; if not, write to the Free Software20* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.21*/222324#ifndef PERVASIVE_H25#define PERVASIVE_H2627extern void cbe_pervasive_init(void);28extern void cbe_system_error_exception(struct pt_regs *regs);29extern void cbe_maintenance_exception(struct pt_regs *regs);30extern void cbe_thermal_exception(struct pt_regs *regs);3132#ifdef CONFIG_PPC_IBM_CELL_RESETBUTTON33extern int cbe_sysreset_hack(void);34#else35static inline int cbe_sysreset_hack(void)36{37return 1;38}39#endif /* CONFIG_PPC_IBM_CELL_RESETBUTTON */4041#endif424344