From ba0e276db4b51bd2255a5d5ff8902c70d32ade40 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 9 Dec 2009 15:56:29 -0800 Subject: target-alpha: Fixes for alpha-linux syscalls. 1. Add correct definitions of error numbers. 2. Implement SYS_osf_sigprocmask 3. Implement SYS_osf_get/setsysinfo for IEEE_FP_CONTROL. This last requires exposing the FPCR value to do_syscall. Since this value is actually split up into the float_status, expose routines from helper.c to access it. Finally, also add a float_exception_mask field to float_status. We don't actually use it to control delivery of exceptions to the emulator yet, but simply hold the value that we placed there when loading/storing the FPCR. Signed-off-by: Richard Henderson Signed-off-by: Aurelien Jarno --- fpu/softfloat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fpu') diff --git a/fpu/softfloat.h b/fpu/softfloat.h index 636591b..9d82694 100644 --- a/fpu/softfloat.h +++ b/fpu/softfloat.h @@ -187,6 +187,7 @@ typedef struct float_status { signed char float_detect_tininess; signed char float_rounding_mode; signed char float_exception_flags; + signed char float_exception_mask; #ifdef FLOATX80 signed char floatx80_rounding_precision; #endif -- cgit v1.1