From a8c53794a00f7a432a846cb649b4908ceba322b9 Mon Sep 17 00:00:00 2001 From: Patrick Oppenlander Date: Tue, 10 Apr 2018 11:01:25 +1000 Subject: [PATCH] add arm asm for vfork --- src/process/arm/vfork.s | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/process/arm/vfork.s diff --git a/src/process/arm/vfork.s b/src/process/arm/vfork.s new file mode 100644 index 00000000..ed1f87a6 --- /dev/null +++ b/src/process/arm/vfork.s @@ -0,0 +1,13 @@ +.syntax unified +.global __vfork +.weak vfork +.type __vfork,%function +.type vfork,%function +__vfork: +vfork: + mov ip, r7 + mov r7, 190 + svc 0 + mov r7, ip + .hidden __syscall_ret + b __syscall_ret -- 2.25.1