1*f32e74baSderaadt/* $OpenBSD: sigpending.S,v 1.11 2014/01/10 20:53:19 deraadt Exp $ */ 21fd5cadaSmickey 31fd5cadaSmickey/* 41fd5cadaSmickey * Copyright (c) 1999 Michael Shalayeff 51fd5cadaSmickey * All rights reserved. 61fd5cadaSmickey * 71fd5cadaSmickey * Redistribution and use in source and binary forms, with or without 81fd5cadaSmickey * modification, are permitted provided that the following conditions 91fd5cadaSmickey * are met: 101fd5cadaSmickey * 1. Redistributions of source code must retain the above copyright 111fd5cadaSmickey * notice, this list of conditions and the following disclaimer. 121fd5cadaSmickey * 2. Redistributions in binary form must reproduce the above copyright 131fd5cadaSmickey * notice, this list of conditions and the following disclaimer in the 141fd5cadaSmickey * documentation and/or other materials provided with the distribution. 151fd5cadaSmickey * 161fd5cadaSmickey * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 171fd5cadaSmickey * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 181fd5cadaSmickey * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 191fd5cadaSmickey * IN NO EVENT SHALL THE AUTHOR OR HIS RELATIVES BE LIABLE FOR ANY DIRECT, 201fd5cadaSmickey * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 211fd5cadaSmickey * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 221fd5cadaSmickey * SERVICES; LOSS OF MIND, USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 231fd5cadaSmickey * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 241fd5cadaSmickey * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 251fd5cadaSmickey * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 261fd5cadaSmickey * THE POSSIBILITY OF SUCH DAMAGE. 271fd5cadaSmickey */ 281fd5cadaSmickey 29c9d8341bSmickey#include "SYS.h" 30c9d8341bSmickey 31dc9d23e8SkettenisSYSENTRY(sigpending) 321fd5cadaSmickey SYSCALL(sigpending) 33*f32e74baSderaadt stw ret0, 0(arg0) 341fd5cadaSmickey bv r0(rp) 351fd5cadaSmickey copy r0, ret0 36fd68ca0eSmickeySYSEXIT(sigpending) 37c9d8341bSmickey 38c9d8341bSmickey .end 39