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

patch.h (273B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * Copyright (C) 2020 SiFive
      4 */
      5
      6#ifndef _ASM_RISCV_PATCH_H
      7#define _ASM_RISCV_PATCH_H
      8
      9int patch_text_nosync(void *addr, const void *insns, size_t len);
     10int patch_text(void *addr, u32 insn);
     11
     12#endif /* _ASM_RISCV_PATCH_H */