asm_subr.s revision ebe15f48e9897d68d978938414a5c16cb0ceb049
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
.file "asm_subr.s"
#include <SYS.h>
pushl $0
pushl $1
pushl $2
/*
* __sighndlr(int sig, siginfo_t *si, ucontext_t *uc, void (*hndlr)())
*
* This is called from sigacthandler() for the purpose of
* communicating the ucontext to java's stack tracing functions
* and to ensure a 16-byte aligned stack pointer for the benefit
* of gcc-compiled floating point code
*/
/*
* int _sigsetjmp(sigjmp_buf env, int savemask)
*
* This version is faster than the old non-threaded version because we
* don't normally have to call __getcontext() to get the signal mask.
* (We have a copy of it in the ulwp_t structure.)
*/