pervasive.h 531 B

1234567891011121314151617181920212223242526
  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 ([email protected])
  8. * David J. Erb ([email protected])
  9. */
  10. #ifndef PERVASIVE_H
  11. #define PERVASIVE_H
  12. extern void cbe_pervasive_init(void);
  13. #ifdef CONFIG_PPC_IBM_CELL_RESETBUTTON
  14. extern int cbe_sysreset_hack(void);
  15. #else
  16. static inline int cbe_sysreset_hack(void)
  17. {
  18. return 1;
  19. }
  20. #endif /* CONFIG_PPC_IBM_CELL_RESETBUTTON */
  21. #endif