linux_dsm_epyc7002/arch/um/include/sysdep-x86_64
Jeff Dike a5f6096c80 uml: floating point signal delivery fixes
Handle floating point state in across signals correctly.  UML/i386 needs to
know whether the host does PTRACE_[GS]ETFPXREGS, so an arch_init_registers
hook is added, which on x86_64 does nothing.

UML doesn't save and restore floating point registers on kernel entry and
exit, so they need to be copied between the host process and the sigcontext.
save_fpx_registers and restore_fpx_registers are added for this purpose.
save_fp_registers and restore_fp_registers already exist.

There was a bunch of floating point state conversion code in
arch/um/sys-i386/ptrace.c which isn't needed there, but is needed in signal.c,
so it is moved over.

The i386 code now distinguishes between fp and fpx state and handles them
correctly.  The x86_64 code just needs to copy state as-is between the host
process and the stack.  There are also some fixes there to pass the correct
address of the floating point state around.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-16 09:43:07 -07:00
..
archsetjmp.h fix file specification in comments 2007-05-09 08:58:16 +02:00
barrier.h [PATCH] uml: fix I/O hang 2006-11-03 12:27:58 -08:00
checksum.h [NET]: UML checksum annotations and cleanups. 2006-12-02 21:23:12 -08:00
faultinfo.h [PATCH] uml: S390 preparation, abstract host page fault data 2005-05-05 16:36:36 -07:00
kernel-offsets.h fix uml-x86_64 2007-05-15 18:56:37 -07:00
ptrace_user.h Attack of "the the"s in arch 2006-10-03 22:21:02 +02:00
ptrace.h uml: floating point signal delivery fixes 2007-10-16 09:43:07 -07:00
sc.h [PATCH] uml: fix missing x86_64 register definitions 2006-09-27 08:26:16 -07:00
sigcontext.h [PATCH] uml: fix page faults in SKAS3 mode. 2005-09-30 12:41:18 -07:00
skas_ptrace.h [PATCH] uml: S390 preparation, abstract host page fault data 2005-05-05 16:36:36 -07:00
stub.h [PATCH] uml skas0: stop gcc's insanity 2005-12-18 11:19:44 -08:00
syscalls.h fix uml-x86_64 2007-05-15 18:56:37 -07:00
tls.h [PATCH] uml: tls support: hack to make it compile on any host 2006-03-31 12:18:52 -08:00