1*fe38b55cSguenther/* $OpenBSD: Ovfork.S,v 1.4 2016/05/07 19:05:22 guenther Exp $ */ 2b30f4a8cSart 3b30f4a8cSart/* 4b30f4a8cSart * Copyright (c) 1992, 1993 5b30f4a8cSart * The Regents of the University of California. All rights reserved. 6b30f4a8cSart * 7b30f4a8cSart * This software was developed by the Computer Systems Engineering group 8b30f4a8cSart * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 9b30f4a8cSart * contributed to Berkeley. 10b30f4a8cSart * 11b30f4a8cSart * Redistribution and use in source and binary forms, with or without 12b30f4a8cSart * modification, are permitted provided that the following conditions 13b30f4a8cSart * are met: 14b30f4a8cSart * 1. Redistributions of source code must retain the above copyright 15b30f4a8cSart * notice, this list of conditions and the following disclaimer. 16b30f4a8cSart * 2. Redistributions in binary form must reproduce the above copyright 17b30f4a8cSart * notice, this list of conditions and the following disclaimer in the 18b30f4a8cSart * documentation and/or other materials provided with the distribution. 196580fee3Smillert * 3. Neither the name of the University nor the names of its contributors 20b30f4a8cSart * may be used to endorse or promote products derived from this software 21b30f4a8cSart * without specific prior written permission. 22b30f4a8cSart * 23b30f4a8cSart * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 24b30f4a8cSart * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25b30f4a8cSart * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26b30f4a8cSart * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 27b30f4a8cSart * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28b30f4a8cSart * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29b30f4a8cSart * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30b30f4a8cSart * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31b30f4a8cSart * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32b30f4a8cSart * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33b30f4a8cSart * SUCH DAMAGE. 34b30f4a8cSart */ 35b30f4a8cSart 36b30f4a8cSart#include <machine/asm.h> 37b30f4a8cSart 38b30f4a8cSart#include "SYS.h" 39b30f4a8cSart 40*fe38b55cSguentherRSYSCALL_HIDDEN(vfork) 41