shmat.S revision 1.1
11.1Sitohy/* $NetBSD: shmat.S,v 1.1 2000/07/07 08:20:52 itohy Exp $ */ 21.1Sitohy 31.1Sitohy/*- 41.1Sitohy * Copyright (c) 2000 The NetBSD Foundation, Inc. 51.1Sitohy * All rights reserved. 61.1Sitohy * 71.1Sitohy * Redistribution and use in source and binary forms, with or without 81.1Sitohy * modification, are permitted provided that the following conditions 91.1Sitohy * are met: 101.1Sitohy * 1. Redistributions of source code must retain the above copyright 111.1Sitohy * notice, this list of conditions and the following disclaimer. 121.1Sitohy * 2. Redistributions in binary form must reproduce the above copyright 131.1Sitohy * notice, this list of conditions and the following disclaimer in the 141.1Sitohy * documentation and/or other materials provided with the distribution. 151.1Sitohy * 3. All advertising materials mentioning features or use of this software 161.1Sitohy * must display the following acknowledgement: 171.1Sitohy * This product includes software developed by the NetBSD 181.1Sitohy * Foundation, Inc. and its contributors. 191.1Sitohy * 4. Neither the name of The NetBSD Foundation nor the names of its 201.1Sitohy * contributors may be used to endorse or promote products derived 211.1Sitohy * from this software without specific prior written permission. 221.1Sitohy * 231.1Sitohy * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 241.1Sitohy * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 251.1Sitohy * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 261.1Sitohy * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 271.1Sitohy * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 281.1Sitohy * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 291.1Sitohy * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 301.1Sitohy * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 311.1Sitohy * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 321.1Sitohy * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 331.1Sitohy * POSSIBILITY OF SUCH DAMAGE. 341.1Sitohy */ 351.1Sitohy 361.1Sitohy#include "SYS.h" 371.1Sitohy 381.1SitohySYSCALL(shmat) 391.1Sitohy#ifdef __SVR4_ABI__ 401.1Sitohy movl %d0,%a0 411.1Sitohy#endif 421.1Sitohy rts 43