AMD64 - Make signals operational, fix reg mappings, fix %fs management, trace
Adjust sigframe, trapframe, mcontext, ucontext, and regs. Add tf_xflags
too all structures. Reorder struct regs to match the register layout
in the other structures.
Implement the commented out signaling code. Signals now work, or at least
do not crash programs. Theoretically the FP state is also saved and restored.
The exec() code failed to adjust gd_user_fs and gd_user_gs when setting
the msr registers for the user %fs and %gs, causing %fs to unexpectedly
change in running user programs.
Implement trace/debug support functions to set %rip and to single-step.
Define the missing vkernel flag FP_SOFTFP.
16 files changed: