11.1Sdrochner/* $NetBSD: compat_Ovfork.S,v 1.1 2005/09/16 18:21:19 drochner Exp $ */
21.1Sdrochner
31.1Sdrochner/*
41.1Sdrochner * Copyright (c) 1994, 1995 Carnegie-Mellon University.
51.1Sdrochner * All rights reserved.
61.1Sdrochner *
71.1Sdrochner * Author: Chris G. Demetriou
81.1Sdrochner *
91.1Sdrochner * Permission to use, copy, modify and distribute this software and
101.1Sdrochner * its documentation is hereby granted, provided that both the copyright
111.1Sdrochner * notice and this permission notice appear in all copies of the
121.1Sdrochner * software, derivative works or modified versions, and any portions
131.1Sdrochner * thereof, and that both notices appear in supporting documentation.
141.1Sdrochner *
151.1Sdrochner * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
161.1Sdrochner * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
171.1Sdrochner * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
181.1Sdrochner *
191.1Sdrochner * Carnegie Mellon requests users of this software to return to
201.1Sdrochner *
211.1Sdrochner *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
221.1Sdrochner *  School of Computer Science
231.1Sdrochner *  Carnegie Mellon University
241.1Sdrochner *  Pittsburgh PA 15213-3890
251.1Sdrochner *
261.1Sdrochner * any improvements or extensions that they make and grant Carnegie the
271.1Sdrochner * rights to redistribute these changes.
281.1Sdrochner */
291.1Sdrochner
301.1Sdrochner#include "SYS.h"
311.1Sdrochner
321.1SdrochnerWARN_REFERENCES(vfork, \
331.1Sdrochner    "warning: reference to compatibility vfork(); include <unistd.h> for correct reference")
341.1Sdrochner
351.1SdrochnerSYSCALL(vfork)
361.1Sdrochner	cmovne	a4, zero, v0		/* a4 (rv[1]) != 0, child */
371.1Sdrochner	RET
381.1SdrochnerEND(vfork)
39