1*94258182Smatt/* $NetBSD: shmat.S,v 1.3 2013/07/16 22:16:53 matt Exp $ */ 2af83a977Sitohy 3af83a977Sitohy/*- 4af83a977Sitohy * Copyright (c) 2000 The NetBSD Foundation, Inc. 5af83a977Sitohy * All rights reserved. 6af83a977Sitohy * 7af83a977Sitohy * Redistribution and use in source and binary forms, with or without 8af83a977Sitohy * modification, are permitted provided that the following conditions 9af83a977Sitohy * are met: 10af83a977Sitohy * 1. Redistributions of source code must retain the above copyright 11af83a977Sitohy * notice, this list of conditions and the following disclaimer. 12af83a977Sitohy * 2. Redistributions in binary form must reproduce the above copyright 13af83a977Sitohy * notice, this list of conditions and the following disclaimer in the 14af83a977Sitohy * documentation and/or other materials provided with the distribution. 15af83a977Sitohy * 16af83a977Sitohy * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 17af83a977Sitohy * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 18af83a977Sitohy * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 19af83a977Sitohy * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 20af83a977Sitohy * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21af83a977Sitohy * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22af83a977Sitohy * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23af83a977Sitohy * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24af83a977Sitohy * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25af83a977Sitohy * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26af83a977Sitohy * POSSIBILITY OF SUCH DAMAGE. 27af83a977Sitohy */ 28af83a977Sitohy 29af83a977Sitohy#include "SYS.h" 30af83a977Sitohy 31af83a977SitohySYSCALL(shmat) 32af83a977Sitohy#ifdef __SVR4_ABI__ 33af83a977Sitohy movl %d0,%a0 34af83a977Sitohy#endif 35af83a977Sitohy rts 36*94258182SmattEND(shmat) 37