@@ -34,6 +34,8 @@ pub(in crate::backend) unsafe fn syscall0_readonly(nr: SyscallNumber<'_>) -> Ret
34
34
lateout( "r11" ) _,
35
35
lateout( "r12" ) _,
36
36
lateout( "cr0" ) _,
37
+ lateout( "ctr" ) _,
38
+ lateout( "xer" ) _,
37
39
options( nostack, preserves_flags, readonly)
38
40
) ;
39
41
FromAsm :: from_asm ( r0)
@@ -59,6 +61,8 @@ pub(in crate::backend) unsafe fn syscall1(nr: SyscallNumber<'_>, a0: ArgReg<'_,
59
61
lateout( "r11" ) _,
60
62
lateout( "r12" ) _,
61
63
lateout( "cr0" ) _,
64
+ lateout( "ctr" ) _,
65
+ lateout( "xer" ) _,
62
66
options( nostack, preserves_flags)
63
67
) ;
64
68
FromAsm :: from_asm ( r0)
@@ -87,6 +91,8 @@ pub(in crate::backend) unsafe fn syscall1_readonly(
87
91
lateout( "r11" ) _,
88
92
lateout( "r12" ) _,
89
93
lateout( "cr0" ) _,
94
+ lateout( "ctr" ) _,
95
+ lateout( "xer" ) _,
90
96
options( nostack, preserves_flags, readonly)
91
97
) ;
92
98
FromAsm :: from_asm ( r0)
@@ -127,6 +133,8 @@ pub(in crate::backend) unsafe fn syscall2(
127
133
lateout( "r11" ) _,
128
134
lateout( "r12" ) _,
129
135
lateout( "cr0" ) _,
136
+ lateout( "ctr" ) _,
137
+ lateout( "xer" ) _,
130
138
options( nostack, preserves_flags)
131
139
) ;
132
140
FromAsm :: from_asm ( r0)
@@ -156,6 +164,8 @@ pub(in crate::backend) unsafe fn syscall2_readonly(
156
164
lateout( "r11" ) _,
157
165
lateout( "r12" ) _,
158
166
lateout( "cr0" ) _,
167
+ lateout( "ctr" ) _,
168
+ lateout( "xer" ) _,
159
169
options( nostack, preserves_flags, readonly)
160
170
) ;
161
171
FromAsm :: from_asm ( r0)
@@ -186,6 +196,8 @@ pub(in crate::backend) unsafe fn syscall3(
186
196
lateout( "r11" ) _,
187
197
lateout( "r12" ) _,
188
198
lateout( "cr0" ) _,
199
+ lateout( "ctr" ) _,
200
+ lateout( "xer" ) _,
189
201
options( nostack, preserves_flags)
190
202
) ;
191
203
FromAsm :: from_asm ( r0)
@@ -216,6 +228,8 @@ pub(in crate::backend) unsafe fn syscall3_readonly(
216
228
lateout( "r11" ) _,
217
229
lateout( "r12" ) _,
218
230
lateout( "cr0" ) _,
231
+ lateout( "ctr" ) _,
232
+ lateout( "xer" ) _,
219
233
options( nostack, preserves_flags, readonly)
220
234
) ;
221
235
FromAsm :: from_asm ( r0)
@@ -247,6 +261,8 @@ pub(in crate::backend) unsafe fn syscall4(
247
261
lateout( "r11" ) _,
248
262
lateout( "r12" ) _,
249
263
lateout( "cr0" ) _,
264
+ lateout( "ctr" ) _,
265
+ lateout( "xer" ) _,
250
266
options( nostack, preserves_flags)
251
267
) ;
252
268
FromAsm :: from_asm ( r0)
@@ -278,6 +294,8 @@ pub(in crate::backend) unsafe fn syscall4_readonly(
278
294
lateout( "r11" ) _,
279
295
lateout( "r12" ) _,
280
296
lateout( "cr0" ) _,
297
+ lateout( "ctr" ) _,
298
+ lateout( "xer" ) _,
281
299
options( nostack, preserves_flags, readonly)
282
300
) ;
283
301
FromAsm :: from_asm ( r0)
@@ -310,6 +328,8 @@ pub(in crate::backend) unsafe fn syscall5(
310
328
lateout( "r11" ) _,
311
329
lateout( "r12" ) _,
312
330
lateout( "cr0" ) _,
331
+ lateout( "ctr" ) _,
332
+ lateout( "xer" ) _,
313
333
options( nostack, preserves_flags)
314
334
) ;
315
335
FromAsm :: from_asm ( r0)
@@ -342,6 +362,8 @@ pub(in crate::backend) unsafe fn syscall5_readonly(
342
362
lateout( "r11" ) _,
343
363
lateout( "r12" ) _,
344
364
lateout( "cr0" ) _,
365
+ lateout( "ctr" ) _,
366
+ lateout( "xer" ) _,
345
367
options( nostack, preserves_flags, readonly)
346
368
) ;
347
369
FromAsm :: from_asm ( r0)
@@ -375,6 +397,8 @@ pub(in crate::backend) unsafe fn syscall6(
375
397
lateout( "r11" ) _,
376
398
lateout( "r12" ) _,
377
399
lateout( "cr0" ) _,
400
+ lateout( "ctr" ) _,
401
+ lateout( "xer" ) _,
378
402
options( nostack, preserves_flags)
379
403
) ;
380
404
FromAsm :: from_asm ( r0)
@@ -408,6 +432,8 @@ pub(in crate::backend) unsafe fn syscall6_readonly(
408
432
lateout( "r11" ) _,
409
433
lateout( "r12" ) _,
410
434
lateout( "cr0" ) _,
435
+ lateout( "ctr" ) _,
436
+ lateout( "xer" ) _,
411
437
options( nostack, preserves_flags, readonly)
412
438
) ;
413
439
FromAsm :: from_asm ( r0)
0 commit comments