1 1.2 cgd /* $NetBSD: __vfork14.S,v 1.2 2000/06/14 06:49:03 cgd Exp $ */ 2 1.1 thorpej 3 1.1 thorpej /* 4 1.1 thorpej * Copyright (c) 1994, 1995 Carnegie-Mellon University. 5 1.1 thorpej * All rights reserved. 6 1.1 thorpej * 7 1.1 thorpej * Author: Chris G. Demetriou 8 1.1 thorpej * 9 1.1 thorpej * Permission to use, copy, modify and distribute this software and 10 1.1 thorpej * its documentation is hereby granted, provided that both the copyright 11 1.1 thorpej * notice and this permission notice appear in all copies of the 12 1.1 thorpej * software, derivative works or modified versions, and any portions 13 1.1 thorpej * thereof, and that both notices appear in supporting documentation. 14 1.1 thorpej * 15 1.1 thorpej * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 16 1.1 thorpej * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 17 1.1 thorpej * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 18 1.1 thorpej * 19 1.1 thorpej * Carnegie Mellon requests users of this software to return to 20 1.1 thorpej * 21 1.1 thorpej * Software Distribution Coordinator or Software.Distribution (at) CS.CMU.EDU 22 1.1 thorpej * School of Computer Science 23 1.1 thorpej * Carnegie Mellon University 24 1.1 thorpej * Pittsburgh PA 15213-3890 25 1.1 thorpej * 26 1.1 thorpej * any improvements or extensions that they make and grant Carnegie the 27 1.1 thorpej * rights to redistribute these changes. 28 1.1 thorpej */ 29 1.1 thorpej 30 1.1 thorpej #include "SYS.h" 31 1.1 thorpej 32 1.1 thorpej SYSCALL(__vfork14) 33 1.1 thorpej cmovne a4, zero, v0 /* a4 (rv[1]) != 0, child */ 34 1.1 thorpej RET 35 1.1 thorpej END(__vfork14) 36