Displaying 2 results from an estimated 2 matches for "97ebc8f".
Did you mean:
97e1cf8
2019 Jan 21
0
[klibc:master] parisc: Fix vfork()
...y arguments, so we need to set the system
call number ourselves.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/klibc/arch/parisc/vfork.S | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/usr/klibc/arch/parisc/vfork.S b/usr/klibc/arch/parisc/vfork.S
index 97ebc8f..3868a8d 100644
--- a/usr/klibc/arch/parisc/vfork.S
+++ b/usr/klibc/arch/parisc/vfork.S
@@ -1,7 +1,7 @@
/*
* arch/parisc/vfork.S, "vfork() me harder. ugh." -- kyle
*
- * %r20 contains the system call number, %rp contains whence we came,
+ * %rp contains whence we came,
* %rp is sav...
2006 Jul 24
1
[PATCH] vfork() for parisc
...b/usr/klibc/arch/parisc/Kbuild
@@ -2,7 +2,7 @@ #
# klibc files for parisc
#
-klib-y := setjmp.o syscall.o
+klib-y := setjmp.o syscall.o vfork.o
always := crt0.o
targets := crt0.o
diff --git a/usr/klibc/arch/parisc/vfork.S b/usr/klibc/arch/parisc/vfork.S
new file mode 100644
index 0000000..97ebc8f
--- /dev/null
+++ b/usr/klibc/arch/parisc/vfork.S
@@ -0,0 +1,31 @@
+/*
+ * arch/parisc/vfork.S, "vfork() me harder. ugh." -- kyle
+ *
+ * %r20 contains the system call number, %rp contains whence we came,
+ * %rp is saved and restored across the syscall, thankfully.
+ *
+ */
+
+ .text
+ ....