--- mstools/posix/h/setjmp.h 2018/08/09 18:24:35 1.1.1.2 +++ mstools/posix/h/setjmp.h 2018/08/09 18:27:51 1.1.1.3 @@ -138,12 +138,43 @@ typedef struct __JUMP_BUFFER { #if defined(_ALPHA_) /* - * All ALPHA implementations need _JBLEN of 2 + * Alpha implementations use a _JBLEN of 24 quadwords. + * A double is used only to obtain quadword size and alignment. */ -#define _JBLEN 2 +#define _JBLEN 24 #define _JBTYPE double +/* + * Define jump buffer layout for Alpha setjmp/longjmp. + * A double is used only to obtain quadword size and alignment. + */ + +typedef struct __JUMP_BUFFER { + unsigned long Fp; + unsigned long Pc; + unsigned long Seb; + unsigned long Type; + double FltF2; + double FltF3; + double FltF4; + double FltF5; + double FltF6; + double FltF7; + double FltF8; + double FltF9; + double IntS0; + double IntS1; + double IntS2; + double IntS3; + double IntS4; + double IntS5; + double IntS6; + double IntSp; + double Fir; + double Fill[5]; +} _JUMP_BUFFER; + #endif /* define the buffer type for holding the state information */