• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: LGPL-2.1 OR MIT */
2 /*
3  * rseq-skip.h
4  *
5  * (C) Copyright 2017-2018 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6  */
7 
8 static inline __attribute__((always_inline))
rseq_cmpeqv_storev(intptr_t * v,intptr_t expect,intptr_t newv,int cpu)9 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu)
10 {
11 	return -1;
12 }
13 
14 static inline __attribute__((always_inline))
rseq_cmpnev_storeoffp_load(intptr_t * v,intptr_t expectnot,long voffp,intptr_t * load,int cpu)15 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot,
16 			       long voffp, intptr_t *load, int cpu)
17 {
18 	return -1;
19 }
20 
21 static inline __attribute__((always_inline))
rseq_addv(intptr_t * v,intptr_t count,int cpu)22 int rseq_addv(intptr_t *v, intptr_t count, int cpu)
23 {
24 	return -1;
25 }
26 
27 static inline __attribute__((always_inline))
rseq_cmpeqv_trystorev_storev(intptr_t * v,intptr_t expect,intptr_t * v2,intptr_t newv2,intptr_t newv,int cpu)28 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect,
29 				 intptr_t *v2, intptr_t newv2,
30 				 intptr_t newv, int cpu)
31 {
32 	return -1;
33 }
34 
35 static inline __attribute__((always_inline))
rseq_cmpeqv_trystorev_storev_release(intptr_t * v,intptr_t expect,intptr_t * v2,intptr_t newv2,intptr_t newv,int cpu)36 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect,
37 					 intptr_t *v2, intptr_t newv2,
38 					 intptr_t newv, int cpu)
39 {
40 	return -1;
41 }
42 
43 static inline __attribute__((always_inline))
rseq_cmpeqv_cmpeqv_storev(intptr_t * v,intptr_t expect,intptr_t * v2,intptr_t expect2,intptr_t newv,int cpu)44 int rseq_cmpeqv_cmpeqv_storev(intptr_t *v, intptr_t expect,
45 			      intptr_t *v2, intptr_t expect2,
46 			      intptr_t newv, int cpu)
47 {
48 	return -1;
49 }
50 
51 static inline __attribute__((always_inline))
rseq_cmpeqv_trymemcpy_storev(intptr_t * v,intptr_t expect,void * dst,void * src,size_t len,intptr_t newv,int cpu)52 int rseq_cmpeqv_trymemcpy_storev(intptr_t *v, intptr_t expect,
53 				 void *dst, void *src, size_t len,
54 				 intptr_t newv, int cpu)
55 {
56 	return -1;
57 }
58 
59 static inline __attribute__((always_inline))
rseq_cmpeqv_trymemcpy_storev_release(intptr_t * v,intptr_t expect,void * dst,void * src,size_t len,intptr_t newv,int cpu)60 int rseq_cmpeqv_trymemcpy_storev_release(intptr_t *v, intptr_t expect,
61 					 void *dst, void *src, size_t len,
62 					 intptr_t newv, int cpu)
63 {
64 	return -1;
65 }
66