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

tm.h (624B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Transactional memory support routines to reclaim and recheckpoint
      4 * transactional process state.
      5 *
      6 * Copyright 2012 Matt Evans & Michael Neuling, IBM Corporation.
      7 */
      8
      9#include <uapi/asm/tm.h>
     10
     11#ifndef __ASSEMBLY__
     12
     13extern void tm_reclaim(struct thread_struct *thread,
     14		       uint8_t cause);
     15extern void tm_reclaim_current(uint8_t cause);
     16extern void tm_recheckpoint(struct thread_struct *thread);
     17extern void tm_save_sprs(struct thread_struct *thread);
     18extern void tm_restore_sprs(struct thread_struct *thread);
     19
     20extern bool tm_suspend_disabled;
     21
     22#endif /* __ASSEMBLY__ */