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

zynqmp-debug.h (647B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Xilinx Zynq MPSoC Firmware layer
      4 *
      5 *  Copyright (C) 2014-2018 Xilinx
      6 *
      7 *  Michal Simek <michal.simek@xilinx.com>
      8 *  Davorin Mista <davorin.mista@aggios.com>
      9 *  Jolly Shah <jollys@xilinx.com>
     10 *  Rajan Vaja <rajanv@xilinx.com>
     11 */
     12
     13#ifndef __FIRMWARE_ZYNQMP_DEBUG_H__
     14#define __FIRMWARE_ZYNQMP_DEBUG_H__
     15
     16#if IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE_DEBUG)
     17void zynqmp_pm_api_debugfs_init(void);
     18void zynqmp_pm_api_debugfs_exit(void);
     19#else
     20static inline void zynqmp_pm_api_debugfs_init(void) { }
     21static inline void zynqmp_pm_api_debugfs_exit(void) { }
     22#endif
     23
     24#endif /* __FIRMWARE_ZYNQMP_DEBUG_H__ */