ceriel 33 vuotta sitten
vanhempi
commit
97a7fcbca3
3 muutettua tiedostoa jossa 16 lisäystä ja 2 poistoa
  1. 8 1
      mach/sparc/libsys/_pipe.s
  2. 7 1
      mach/sparc/libsys/pipe.s
  3. 1 0
      mach/sparc/libsys/unmount.s

+ 8 - 1
mach/sparc/libsys/_pipe.s

@@ -1,3 +1,10 @@
 #include "SYS.h"
 
-_SYS_call_1(pipe)
+LABEL__(pipe); ENTRY1
+LABEL(pipe)
+	mov	%o0,%o2
+	BODY1(pipe)
+	st	%o0,[%o2]
+	st	%o1,[%o2+4]
+	retl
+	clr	%o0

+ 7 - 1
mach/sparc/libsys/pipe.s

@@ -1,3 +1,9 @@
 #include "SYS.h"
 
-SYS_call_1(pipe)
+LABEL_(pipe); ENTRY1;
+	mov	%o0,%o2
+	BODY1(pipe)
+	st	%o0,[%o2]
+	st	%o1,[%o2+4]
+	retl
+	clr	%o0

+ 1 - 0
mach/sparc/libsys/unmount.s

@@ -6,3 +6,4 @@ SYS_call_1(umount)
 
 _unmount:	
 	b	_umount
+	nop