fb723c8749
Used the new gensyscalls.py script to update the ARM syscalls with the BEGIN(x) and END(x) macros to give size information for the code of the syscall. Useful for valgrind. Change-Id: I8c481c8928401ac110fd19b087f7d67e4db39326
16 lines
383 B
ArmAsm
16 lines
383 B
ArmAsm
/* autogenerated by gensyscalls.py */
|
|
#include <machine/asm.h>
|
|
#include <sys/linux-syscalls.h>
|
|
|
|
ENTRY(pwrite64)
|
|
mov ip, sp
|
|
.save {r4, r5, r6, r7}
|
|
stmfd sp!, {r4, r5, r6, r7}
|
|
ldmfd ip, {r4, r5, r6}
|
|
ldr r7, =__NR_pwrite64
|
|
swi #0
|
|
ldmfd sp!, {r4, r5, r6, r7}
|
|
movs r0, r0
|
|
bxpl lr
|
|
b __set_syscall_errno
|
|
END(pwrite64)
|