1*ce099b40Smartin/* $NetBSD: compat___semctl.S,v 1.2 2008/04/28 20:22:59 martin Exp $ */ 2ccfab6beSchristos 3ccfab6beSchristos/*- 4ccfab6beSchristos * Copyright (c) 1999 The NetBSD Foundation, Inc. 5ccfab6beSchristos * All rights reserved. 6ccfab6beSchristos * 7ccfab6beSchristos * This code is derived from software contributed to The NetBSD Foundation 8ccfab6beSchristos * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, 9ccfab6beSchristos * NASA Ames Research Center. 10ccfab6beSchristos * 11ccfab6beSchristos * Redistribution and use in source and binary forms, with or without 12ccfab6beSchristos * modification, are permitted provided that the following conditions 13ccfab6beSchristos * are met: 14ccfab6beSchristos * 1. Redistributions of source code must retain the above copyright 15ccfab6beSchristos * notice, this list of conditions and the following disclaimer. 16ccfab6beSchristos * 2. Redistributions in binary form must reproduce the above copyright 17ccfab6beSchristos * notice, this list of conditions and the following disclaimer in the 18ccfab6beSchristos * documentation and/or other materials provided with the distribution. 19ccfab6beSchristos * 20ccfab6beSchristos * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 21ccfab6beSchristos * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 22ccfab6beSchristos * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 23ccfab6beSchristos * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 24ccfab6beSchristos * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25ccfab6beSchristos * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26ccfab6beSchristos * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27ccfab6beSchristos * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28ccfab6beSchristos * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29ccfab6beSchristos * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30ccfab6beSchristos * POSSIBILITY OF SUCH DAMAGE. 31ccfab6beSchristos */ 32ccfab6beSchristos 33ccfab6beSchristos#include "SYS.h" 34ccfab6beSchristos 35ccfab6beSchristosPSEUDO(__semctl,compat_14___semctl) 36