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

sifive_l2_cache.h (408B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * SiFive L2 Cache Controller header file
      4 *
      5 */
      6
      7#ifndef __SOC_SIFIVE_L2_CACHE_H
      8#define __SOC_SIFIVE_L2_CACHE_H
      9
     10extern int register_sifive_l2_error_notifier(struct notifier_block *nb);
     11extern int unregister_sifive_l2_error_notifier(struct notifier_block *nb);
     12
     13#define SIFIVE_L2_ERR_TYPE_CE 0
     14#define SIFIVE_L2_ERR_TYPE_UE 1
     15
     16#endif /* __SOC_SIFIVE_L2_CACHE_H */