Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2003 15:55:02 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 37623 for review
Message-ID:  <200309052255.h85Mt24P067535@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=37623

Change 37623 by peter@peter_hammer on 2003/09/05 15:54:13

	update fpjmp_buf with real offsets

Affected files ...

.. //depot/projects/ezm3/libs/m3core/src/C/FBSD_AMD64/Csetjmp.i3#4 edit

Differences ...

==== //depot/projects/ezm3/libs/m3core/src/C/FBSD_AMD64/Csetjmp.i3#4 (text+ko) ====

@@ -14,9 +14,11 @@
   jmp_buf = ARRAY [0..11] OF long; (* actually, this is a sigjmp_buf,
                                      just in case *)
 
+  (* We use a special state for context switching due to floating point,
+     which setjmp/longjmp do not deal with. Record length = 72 longs. *)
   fpjmp_buf = RECORD
-    int_stuff: ARRAY [0..79] OF long;
-    fp_stuff:  ARRAY [xx .. yy] OF long_double;
+    int_stuff: ARRAY [0..7] OF long; (* integer registers *)
+    fp_stuff:  ARRAY [0..31] OF long_double; (* floating point fxsave *)
   END;
 
 <*EXTERNAL "setjmp"   *> PROCEDURE setjmp (VAR env: jmp_buf): int;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309052255.h85Mt24P067535>