shmat.S revision 1.3
11.3Smatt/*	$NetBSD: shmat.S,v 1.3 2013/07/16 22:16:53 matt 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 *
161.1Sitohy * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
171.1Sitohy * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
181.1Sitohy * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
191.1Sitohy * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
201.1Sitohy * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
211.1Sitohy * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
221.1Sitohy * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
231.1Sitohy * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
241.1Sitohy * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
251.1Sitohy * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
261.1Sitohy * POSSIBILITY OF SUCH DAMAGE.
271.1Sitohy */
281.1Sitohy
291.1Sitohy#include "SYS.h"
301.1Sitohy
311.1SitohySYSCALL(shmat)
321.1Sitohy#ifdef	__SVR4_ABI__
331.1Sitohy	movl	%d0,%a0
341.1Sitohy#endif
351.1Sitohy	rts
361.3SmattEND(shmat)
37