11.3Smatt/* $NetBSD: _lwp_getprivate.S,v 1.3 2013/07/16 22:19:16 matt Exp $ */ 21.1Smartin 31.1Smartin/*- 41.1Smartin * Copyright (c) 2007 The NetBSD Foundation, Inc. 51.1Smartin * All rights reserved. 61.1Smartin * 71.1Smartin * Redistribution and use in source and binary forms, with or without 81.1Smartin * modification, are permitted provided that the following conditions 91.1Smartin * are met: 101.1Smartin * 1. Redistributions of source code must retain the above copyright 111.1Smartin * notice, this list of conditions and the following disclaimer. 121.1Smartin * 2. Redistributions in binary form must reproduce the above copyright 131.1Smartin * notice, this list of conditions and the following disclaimer in the 141.1Smartin * documentation and/or other materials provided with the distribution. 151.1Smartin * 161.1Smartin * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 171.1Smartin * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 181.1Smartin * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 191.1Smartin * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 201.1Smartin * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 211.1Smartin * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 221.1Smartin * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 231.1Smartin * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 241.1Smartin * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 251.1Smartin * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 261.1Smartin * POSSIBILITY OF SUCH DAMAGE. 271.1Smartin */ 281.1Smartin 291.1Smartin#include "SYS.h" 301.1Smartin 311.1SmartinSYSCALL(_lwp_getprivate) 321.1Smartin#ifdef __SVR4_ABI__ 331.1Smartin movl %d0,%a0 341.1Smartin#endif 351.1Smartin rts 361.3SmattEND(_lwp_getprivate) 37