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