From d1497824f0f404180044f606caa60478ee853bff Mon Sep 17 00:00:00 2001 From: Jake Burkholder Date: Sat, 23 Feb 2002 19:00:30 +0000 Subject: Add space for %fsr and %tstate to utrapframe. Save them in the generic user trap entry code. Restore %asi and %ccr from the saved %tstate before returning to the trapping user code. Submitted by: tmm --- lib/libc/sparc64/sys/__sparc_utrap_private.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libc/sparc64/sys/__sparc_utrap_private.h') diff --git a/lib/libc/sparc64/sys/__sparc_utrap_private.h b/lib/libc/sparc64/sys/__sparc_utrap_private.h index 59461348a6d4..cd11ccd8f39e 100644 --- a/lib/libc/sparc64/sys/__sparc_utrap_private.h +++ b/lib/libc/sparc64/sys/__sparc_utrap_private.h @@ -43,6 +43,8 @@ struct utrapframe { u_long uf_sfsr; u_long uf_tar; u_long uf_type; + u_long uf_state; + u_long uf_fsr; }; extern char __sparc_utrap_fp_disabled[]; -- cgit v1.2.3