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

btitest.h (524B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Copyright (C) 2019  Arm Limited
      4 * Original author: Dave Martin <Dave.Martin@arm.com>
      5 */
      6
      7#ifndef BTITEST_H
      8#define BTITEST_H
      9
     10/* Trampolines for calling the test stubs: */
     11void call_using_br_x0(void (*)(void));
     12void call_using_br_x16(void (*)(void));
     13void call_using_blr(void (*)(void));
     14
     15/* Test stubs: */
     16void nohint_func(void);
     17void bti_none_func(void);
     18void bti_c_func(void);
     19void bti_j_func(void);
     20void bti_jc_func(void);
     21void paciasp_func(void);
     22
     23#endif /* !BTITEST_H */