From: Jeff Dike <jdike@ka...> - 2003-02-14 00:00:33
> It looks like it's purpose is to map real registers to usermode
> registers, but if that's the cae, i'm not sure how that can be done in
> a processor-portable manner...
No, the point is to abstract out the register locations so they can be pulled
from a sigcontext or an array. tt mode stores registers in a struct sigcontext
and skas mode stores them in an array (which it gets from PTRACE_GETREGS).
This allows mode-independent code access to the registers.