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

memswap.h (282B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef PERF_MEMSWAP_H_
      3#define PERF_MEMSWAP_H_
      4
      5#include <linux/types.h>
      6
      7union u64_swap {
      8	u64 val64;
      9	u32 val32[2];
     10};
     11
     12void mem_bswap_64(void *src, int byte_size);
     13void mem_bswap_32(void *src, int byte_size);
     14
     15#endif /* PERF_MEMSWAP_H_ */