- change ABI for user trap handler for sun4v (eventually will sync sparc64 no
hardware set up to test at the moment) Approved by: scottl (standing in for mentor rwatson)
This commit is contained in:
parent
78fce1a4a6
commit
73954d8d22
@ -11,6 +11,9 @@ SRCS+= __sparc_sigtramp_setup.c \
|
||||
sigcode.S
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/sparc64/fpu
|
||||
.if ${MACHINE} == "sun4v"
|
||||
CFLAGS+= -DSUN4V
|
||||
.endif
|
||||
|
||||
MDASM+= brk.S cerror.S exect.S pipe.S ptrace.S sbrk.S setlogin.S sigaction.S
|
||||
|
||||
|
@ -38,6 +38,10 @@ __FBSDID("$FreeBSD$");
|
||||
#include "assym.s"
|
||||
|
||||
ENTRY(__sparc_utrap_gen)
|
||||
#ifdef SUN4V
|
||||
save
|
||||
ta %xcc, ST_FPEMU_CONTEXT
|
||||
#endif
|
||||
sub %sp, UF_SIZEOF, %sp
|
||||
|
||||
stx %o0, [%sp + SPOFF + CCFSZ + UF_TYPE]
|
||||
|
Loading…
Reference in New Issue
Block a user