]> git.proxmox.com Git - qemu.git/commit
target-alpha: Fixes for alpha-linux syscalls.
authorRichard Henderson <rth@twiddle.net>
Wed, 9 Dec 2009 23:56:29 +0000 (15:56 -0800)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 13 Dec 2009 19:32:36 +0000 (20:32 +0100)
commitba0e276db4b51bd2255a5d5ff8902c70d32ade40
tree7366b9dcf6b064f59e4879bc517906c3af5fbdb2
parent990b3e19013ebd36b3fb9af97aaa67f7bc490c15
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 <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
fpu/softfloat.h
linux-user/alpha/syscall.h
linux-user/syscall.c
target-alpha/cpu.h
target-alpha/helper.c
target-alpha/op_helper.c