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

ptdump.h (338B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Copyright (C) 2019 SiFive
      4 */
      5
      6#ifndef _ASM_RISCV_PTDUMP_H
      7#define _ASM_RISCV_PTDUMP_H
      8
      9void ptdump_check_wx(void);
     10
     11#ifdef CONFIG_DEBUG_WX
     12static inline void debug_checkwx(void)
     13{
     14	ptdump_check_wx();
     15}
     16#else
     17static inline void debug_checkwx(void)
     18{
     19}
     20#endif
     21
     22#endif /* _ASM_RISCV_PTDUMP_H */