Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Cell Pervasive Monitor and Debug interface and HW structures
0004  *
0005  * (C) Copyright IBM Corporation 2005
0006  *
0007  * Authors: Maximino Aguilar (maguilar@us.ibm.com)
0008  *          David J. Erb (djerb@us.ibm.com)
0009  */
0010 
0011 
0012 #ifndef PERVASIVE_H
0013 #define PERVASIVE_H
0014 
0015 extern void cbe_pervasive_init(void);
0016 
0017 #ifdef CONFIG_PPC_IBM_CELL_RESETBUTTON
0018 extern int cbe_sysreset_hack(void);
0019 #else
0020 static inline int cbe_sysreset_hack(void)
0021 {
0022     return 1;
0023 }
0024 #endif /* CONFIG_PPC_IBM_CELL_RESETBUTTON */
0025 
0026 #endif