xref: /openbsd/lib/libc/arch/hppa/sys/sigsuspend.S (revision fe38b55c)
1*fe38b55cSguenther/*	$OpenBSD: sigsuspend.S,v 1.11 2016/05/07 19:05:21 guenther Exp $	*/
2df36b4e5Smickey
3df36b4e5Smickey/*
4df36b4e5Smickey * Copyright (c) 1999 Michael Shalayeff
5df36b4e5Smickey * All rights reserved.
6df36b4e5Smickey *
7df36b4e5Smickey * Redistribution and use in source and binary forms, with or without
8df36b4e5Smickey * modification, are permitted provided that the following conditions
9df36b4e5Smickey * are met:
10df36b4e5Smickey * 1. Redistributions of source code must retain the above copyright
11df36b4e5Smickey *    notice, this list of conditions and the following disclaimer.
12df36b4e5Smickey * 2. Redistributions in binary form must reproduce the above copyright
13df36b4e5Smickey *    notice, this list of conditions and the following disclaimer in the
14df36b4e5Smickey *    documentation and/or other materials provided with the distribution.
15df36b4e5Smickey *
16df36b4e5Smickey * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17df36b4e5Smickey * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18df36b4e5Smickey * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19df36b4e5Smickey * IN NO EVENT SHALL THE AUTHOR OR HIS RELATIVES BE LIABLE FOR ANY DIRECT,
20df36b4e5Smickey * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21df36b4e5Smickey * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22df36b4e5Smickey * SERVICES; LOSS OF MIND, USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23df36b4e5Smickey * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
24df36b4e5Smickey * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
25df36b4e5Smickey * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
26df36b4e5Smickey * THE POSSIBILITY OF SUCH DAMAGE.
27df36b4e5Smickey */
28df36b4e5Smickey
29c9d8341bSmickey#include "SYS.h"
30c9d8341bSmickey
31*fe38b55cSguentherSYSENTRY_HIDDEN(sigsuspend)
32df36b4e5Smickey	ldw	0(arg0), arg0
33df36b4e5Smickey	stw	arg0, HPPA_FRAME_ARG(0)(sp)
34df36b4e5Smickey
35df36b4e5Smickey	SYSCALL(sigsuspend)
36*fe38b55cSguentherSYSEXIT_HIDDEN(sigsuspend)
37c9d8341bSmickey
38c9d8341bSmickey	.end
39