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

rseq-thread-pointer.h (426B)


      1/* SPDX-License-Identifier: LGPL-2.1-only OR MIT */
      2/*
      3 * rseq-thread-pointer.h
      4 *
      5 * (C) Copyright 2021 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
      6 */
      7
      8#ifndef _RSEQ_THREAD_POINTER
      9#define _RSEQ_THREAD_POINTER
     10
     11#if defined(__x86_64__) || defined(__i386__)
     12#include "rseq-x86-thread-pointer.h"
     13#elif defined(__PPC__)
     14#include "rseq-ppc-thread-pointer.h"
     15#else
     16#include "rseq-generic-thread-pointer.h"
     17#endif
     18
     19#endif