cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

pervasive.h (531B)


      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);
     16
     17#ifdef CONFIG_PPC_IBM_CELL_RESETBUTTON
     18extern int cbe_sysreset_hack(void);
     19#else
     20static inline int cbe_sysreset_hack(void)
     21{
     22	return 1;
     23}
     24#endif /* CONFIG_PPC_IBM_CELL_RESETBUTTON */
     25
     26#endif