1*38848718Sguenther/* $OpenBSD: sigpending.S,v 1.5 2016/08/06 19:16:09 guenther Exp $ */ 2d987040fSdrahn/* $NetBSD: sigpending.S,v 1.5 2003/08/07 16:42:05 agc Exp $ */ 3d987040fSdrahn 4d987040fSdrahn/*- 5d987040fSdrahn * Copyright (c) 1990 The Regents of the University of California. 6d987040fSdrahn * All rights reserved. 7d987040fSdrahn * 8d987040fSdrahn * Redistribution and use in source and binary forms, with or without 9d987040fSdrahn * modification, are permitted provided that the following conditions 10d987040fSdrahn * are met: 11d987040fSdrahn * 1. Redistributions of source code must retain the above copyright 12d987040fSdrahn * notice, this list of conditions and the following disclaimer. 13d987040fSdrahn * 2. Redistributions in binary form must reproduce the above copyright 14d987040fSdrahn * notice, this list of conditions and the following disclaimer in the 15d987040fSdrahn * documentation and/or other materials provided with the distribution. 16d987040fSdrahn * 3. Neither the name of the University nor the names of its contributors 17d987040fSdrahn * may be used to endorse or promote products derived from this software 18d987040fSdrahn * without specific prior written permission. 19d987040fSdrahn * 20d987040fSdrahn * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 21d987040fSdrahn * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22d987040fSdrahn * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23d987040fSdrahn * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 24d987040fSdrahn * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25d987040fSdrahn * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26d987040fSdrahn * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27d987040fSdrahn * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28d987040fSdrahn * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29d987040fSdrahn * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30d987040fSdrahn * SUCH DAMAGE. 31d987040fSdrahn * 32d987040fSdrahn * from: @(#)sigpending.s 5.1 (Berkeley) 7/1/90 33d987040fSdrahn */ 34d987040fSdrahn 35d987040fSdrahn#include "SYS.h" 36d987040fSdrahn 37c54564aaSguentherSYSENTRY(sigpending) 38c54564aaSguenther mov r2, r0 39c54564aaSguenther SYSTRAP(sigpending) 40*38848718Sguenther bcs CERROR 41c54564aaSguenther str r0, [r2] 42c54564aaSguenther mov r0, #0x00000000 43c54564aaSguenther mov r15, r14 443f373d41SguentherSYSCALL_END(sigpending) 45