diff options
author | danlark <danlark@yandex-team.ru> | 2022-02-10 16:46:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:08 +0300 |
commit | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (patch) | |
tree | 26154e1e9990f1bb4525d3e3fb5b6dac2c2c1da2 /contrib/libs/libaio | |
parent | cb68f224c46a8ee52ac3fdd2a32534b8bb8dc134 (diff) | |
download | ydb-3426a9bc7f169ae9da54cef557ad2a33f6e8eee0.tar.gz |
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/libaio')
-rw-r--r-- | contrib/libs/libaio/syscall-alpha.h | 64 | ||||
-rw-r--r-- | contrib/libs/libaio/syscall-arm.h | 40 | ||||
-rw-r--r-- | contrib/libs/libaio/syscall-arm64.h | 40 |
3 files changed, 72 insertions, 72 deletions
diff --git a/contrib/libs/libaio/syscall-alpha.h b/contrib/libs/libaio/syscall-alpha.h index 467b74f07e..80e792f5c8 100644 --- a/contrib/libs/libaio/syscall-alpha.h +++ b/contrib/libs/libaio/syscall-alpha.h @@ -13,8 +13,8 @@ #define inline_syscall0(name, args...) \ { \ - register long _sc_0 inline_syscall_r0_asm; \ - register long _sc_19 __asm__("$19"); \ + register long _sc_0 inline_syscall_r0_asm; \ + register long _sc_19 __asm__("$19"); \ \ _sc_0 = name; \ __asm__ __volatile__ \ @@ -29,9 +29,9 @@ #define inline_syscall1(name,arg1) \ { \ - register long _sc_0 inline_syscall_r0_asm; \ - register long _sc_16 __asm__("$16"); \ - register long _sc_19 __asm__("$19"); \ + register long _sc_0 inline_syscall_r0_asm; \ + register long _sc_16 __asm__("$16"); \ + register long _sc_19 __asm__("$19"); \ \ _sc_0 = name; \ _sc_16 = (long) (arg1); \ @@ -47,10 +47,10 @@ #define inline_syscall2(name,arg1,arg2) \ { \ - register long _sc_0 inline_syscall_r0_asm; \ - register long _sc_16 __asm__("$16"); \ - register long _sc_17 __asm__("$17"); \ - register long _sc_19 __asm__("$19"); \ + register long _sc_0 inline_syscall_r0_asm; \ + register long _sc_16 __asm__("$16"); \ + register long _sc_17 __asm__("$17"); \ + register long _sc_19 __asm__("$19"); \ \ _sc_0 = name; \ _sc_16 = (long) (arg1); \ @@ -67,11 +67,11 @@ #define inline_syscall3(name,arg1,arg2,arg3) \ { \ - register long _sc_0 inline_syscall_r0_asm; \ - register long _sc_16 __asm__("$16"); \ - register long _sc_17 __asm__("$17"); \ - register long _sc_18 __asm__("$18"); \ - register long _sc_19 __asm__("$19"); \ + register long _sc_0 inline_syscall_r0_asm; \ + register long _sc_16 __asm__("$16"); \ + register long _sc_17 __asm__("$17"); \ + register long _sc_18 __asm__("$18"); \ + register long _sc_19 __asm__("$19"); \ \ _sc_0 = name; \ _sc_16 = (long) (arg1); \ @@ -90,11 +90,11 @@ #define inline_syscall4(name,arg1,arg2,arg3,arg4) \ { \ - register long _sc_0 inline_syscall_r0_asm; \ - register long _sc_16 __asm__("$16"); \ - register long _sc_17 __asm__("$17"); \ - register long _sc_18 __asm__("$18"); \ - register long _sc_19 __asm__("$19"); \ + register long _sc_0 inline_syscall_r0_asm; \ + register long _sc_16 __asm__("$16"); \ + register long _sc_17 __asm__("$17"); \ + register long _sc_18 __asm__("$18"); \ + register long _sc_19 __asm__("$19"); \ \ _sc_0 = name; \ _sc_16 = (long) (arg1); \ @@ -114,12 +114,12 @@ #define inline_syscall5(name,arg1,arg2,arg3,arg4,arg5) \ { \ - register long _sc_0 inline_syscall_r0_asm; \ - register long _sc_16 __asm__("$16"); \ - register long _sc_17 __asm__("$17"); \ - register long _sc_18 __asm__("$18"); \ - register long _sc_19 __asm__("$19"); \ - register long _sc_20 __asm__("$20"); \ + register long _sc_0 inline_syscall_r0_asm; \ + register long _sc_16 __asm__("$16"); \ + register long _sc_17 __asm__("$17"); \ + register long _sc_18 __asm__("$18"); \ + register long _sc_19 __asm__("$19"); \ + register long _sc_20 __asm__("$20"); \ \ _sc_0 = name; \ _sc_16 = (long) (arg1); \ @@ -140,13 +140,13 @@ #define inline_syscall6(name,arg1,arg2,arg3,arg4,arg5,arg6) \ { \ - register long _sc_0 inline_syscall_r0_asm; \ - register long _sc_16 __asm__("$16"); \ - register long _sc_17 __asm__("$17"); \ - register long _sc_18 __asm__("$18"); \ - register long _sc_19 __asm__("$19"); \ - register long _sc_20 __asm__("$20"); \ - register long _sc_21 __asm__("$21"); \ + register long _sc_0 inline_syscall_r0_asm; \ + register long _sc_16 __asm__("$16"); \ + register long _sc_17 __asm__("$17"); \ + register long _sc_18 __asm__("$18"); \ + register long _sc_19 __asm__("$19"); \ + register long _sc_20 __asm__("$20"); \ + register long _sc_21 __asm__("$21"); \ \ _sc_0 = name; \ _sc_16 = (long) (arg1); \ diff --git a/contrib/libs/libaio/syscall-arm.h b/contrib/libs/libaio/syscall-arm.h index 4a9b665969..1edc3db881 100644 --- a/contrib/libs/libaio/syscall-arm.h +++ b/contrib/libs/libaio/syscall-arm.h @@ -41,8 +41,8 @@ #define io_syscall1(type,fname,sname,type1,arg1) \ type fname(type1 arg1) { \ __SYS_REG(sname) \ - register long __r0 __asm__("r0") = (long)arg1; \ - register long __res_r0 __asm__("r0"); \ + register long __r0 __asm__("r0") = (long)arg1; \ + register long __res_r0 __asm__("r0"); \ __asm__ __volatile__ ( \ __syscall(sname) \ : "=r" (__res_r0) \ @@ -54,9 +54,9 @@ type fname(type1 arg1) { \ #define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \ type fname(type1 arg1,type2 arg2) { \ __SYS_REG(sname) \ - register long __r0 __asm__("r0") = (long)arg1; \ - register long __r1 __asm__("r1") = (long)arg2; \ - register long __res_r0 __asm__("r0"); \ + register long __r0 __asm__("r0") = (long)arg1; \ + register long __r1 __asm__("r1") = (long)arg2; \ + register long __res_r0 __asm__("r0"); \ __asm__ __volatile__ ( \ __syscall(sname) \ : "=r" (__res_r0) \ @@ -68,10 +68,10 @@ type fname(type1 arg1,type2 arg2) { \ #define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \ type fname(type1 arg1,type2 arg2,type3 arg3) { \ __SYS_REG(sname) \ - register long __r0 __asm__("r0") = (long)arg1; \ - register long __r1 __asm__("r1") = (long)arg2; \ - register long __r2 __asm__("r2") = (long)arg3; \ - register long __res_r0 __asm__("r0"); \ + register long __r0 __asm__("r0") = (long)arg1; \ + register long __r1 __asm__("r1") = (long)arg2; \ + register long __r2 __asm__("r2") = (long)arg3; \ + register long __res_r0 __asm__("r0"); \ __asm__ __volatile__ ( \ __syscall(sname) \ : "=r" (__res_r0) \ @@ -83,11 +83,11 @@ type fname(type1 arg1,type2 arg2,type3 arg3) { \ #define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4)\ type fname(type1 arg1, type2 arg2, type3 arg3, type4 arg4) { \ __SYS_REG(sname) \ - register long __r0 __asm__("r0") = (long)arg1; \ - register long __r1 __asm__("r1") = (long)arg2; \ - register long __r2 __asm__("r2") = (long)arg3; \ - register long __r3 __asm__("r3") = (long)arg4; \ - register long __res_r0 __asm__("r0"); \ + register long __r0 __asm__("r0") = (long)arg1; \ + register long __r1 __asm__("r1") = (long)arg2; \ + register long __r2 __asm__("r2") = (long)arg3; \ + register long __r3 __asm__("r3") = (long)arg4; \ + register long __res_r0 __asm__("r0"); \ __asm__ __volatile__ ( \ __syscall(sname) \ : "=r" (__res_r0) \ @@ -99,12 +99,12 @@ type fname(type1 arg1, type2 arg2, type3 arg3, type4 arg4) { \ #define io_syscall5(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4,type5,arg5) \ type fname(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5) {\ __SYS_REG(sname) \ - register long __r0 __asm__("r0") = (long)arg1; \ - register long __r1 __asm__("r1") = (long)arg2; \ - register long __r2 __asm__("r2") = (long)arg3; \ - register long __r3 __asm__("r3") = (long)arg4; \ - register long __r4 __asm__("r4") = (long)arg5; \ - register long __res_r0 __asm__("r0"); \ + register long __r0 __asm__("r0") = (long)arg1; \ + register long __r1 __asm__("r1") = (long)arg2; \ + register long __r2 __asm__("r2") = (long)arg3; \ + register long __r3 __asm__("r3") = (long)arg4; \ + register long __r4 __asm__("r4") = (long)arg5; \ + register long __res_r0 __asm__("r0"); \ __asm__ __volatile__ ( \ __syscall(sname) \ : "=r" (__res_r0) \ diff --git a/contrib/libs/libaio/syscall-arm64.h b/contrib/libs/libaio/syscall-arm64.h index 031c571824..e36cd73c66 100644 --- a/contrib/libs/libaio/syscall-arm64.h +++ b/contrib/libs/libaio/syscall-arm64.h @@ -27,8 +27,8 @@ #define io_syscall1(type,fname,sname,type1,arg1) \ type fname(type1 arg1) { \ __SYS_REG(sname) \ - register long __x0 __asm__("x0") = (long)arg1; \ - register long __res_x0 __asm__("x0"); \ + register long __x0 __asm__("x0") = (long)arg1; \ + register long __res_x0 __asm__("x0"); \ __asm__ __volatile__ ( \ __syscall(sname) \ : "=r" (__res_x0) \ @@ -40,9 +40,9 @@ type fname(type1 arg1) { \ #define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \ type fname(type1 arg1,type2 arg2) { \ __SYS_REG(sname) \ - register long __x0 __asm__("x0") = (long)arg1; \ - register long __x1 __asm__("x1") = (long)arg2; \ - register long __res_x0 __asm__("x0"); \ + register long __x0 __asm__("x0") = (long)arg1; \ + register long __x1 __asm__("x1") = (long)arg2; \ + register long __res_x0 __asm__("x0"); \ __asm__ __volatile__ ( \ __syscall(sname) \ : "=r" (__res_x0) \ @@ -54,10 +54,10 @@ type fname(type1 arg1,type2 arg2) { \ #define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \ type fname(type1 arg1,type2 arg2,type3 arg3) { \ __SYS_REG(sname) \ - register long __x0 __asm__("x0") = (long)arg1; \ - register long __x1 __asm__("x1") = (long)arg2; \ - register long __x2 __asm__("x2") = (long)arg3; \ - register long __res_x0 __asm__("x0"); \ + register long __x0 __asm__("x0") = (long)arg1; \ + register long __x1 __asm__("x1") = (long)arg2; \ + register long __x2 __asm__("x2") = (long)arg3; \ + register long __res_x0 __asm__("x0"); \ __asm__ __volatile__ ( \ __syscall(sname) \ : "=r" (__res_x0) \ @@ -69,11 +69,11 @@ type fname(type1 arg1,type2 arg2,type3 arg3) { \ #define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4)\ type fname(type1 arg1, type2 arg2, type3 arg3, type4 arg4) { \ __SYS_REG(sname) \ - register long __x0 __asm__("x0") = (long)arg1; \ - register long __x1 __asm__("x1") = (long)arg2; \ - register long __x2 __asm__("x2") = (long)arg3; \ - register long __x3 __asm__("x3") = (long)arg4; \ - register long __res_x0 __asm__("x0"); \ + register long __x0 __asm__("x0") = (long)arg1; \ + register long __x1 __asm__("x1") = (long)arg2; \ + register long __x2 __asm__("x2") = (long)arg3; \ + register long __x3 __asm__("x3") = (long)arg4; \ + register long __res_x0 __asm__("x0"); \ __asm__ __volatile__ ( \ __syscall(sname) \ : "=r" (__res_x0) \ @@ -85,12 +85,12 @@ type fname(type1 arg1, type2 arg2, type3 arg3, type4 arg4) { \ #define io_syscall5(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4,type5,arg5) \ type fname(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5) {\ __SYS_REG(sname) \ - register long __x0 __asm__("x0") = (long)arg1; \ - register long __x1 __asm__("x1") = (long)arg2; \ - register long __x2 __asm__("x2") = (long)arg3; \ - register long __x3 __asm__("x3") = (long)arg4; \ - register long __x4 __asm__("x4") = (long)arg5; \ - register long __res_x0 __asm__("x0"); \ + register long __x0 __asm__("x0") = (long)arg1; \ + register long __x1 __asm__("x1") = (long)arg2; \ + register long __x2 __asm__("x2") = (long)arg3; \ + register long __x3 __asm__("x3") = (long)arg4; \ + register long __x4 __asm__("x4") = (long)arg5; \ + register long __res_x0 __asm__("x0"); \ __asm__ __volatile__ ( \ __syscall(sname) \ : "=r" (__res_x0) \ |