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

transition.h (457B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _LIVEPATCH_TRANSITION_H
      3#define _LIVEPATCH_TRANSITION_H
      4
      5#include <linux/livepatch.h>
      6
      7extern struct klp_patch *klp_transition_patch;
      8
      9void klp_init_transition(struct klp_patch *patch, int state);
     10void klp_cancel_transition(void);
     11void klp_start_transition(void);
     12void klp_try_complete_transition(void);
     13void klp_reverse_transition(void);
     14void klp_force_transition(void);
     15
     16#endif /* _LIVEPATCH_TRANSITION_H */