|
From: Thorsten O. <ad...@th...> - 2018-04-07 14:25:39
|
While experimenting with some code, i noticed that our struct ucontext in sys/
ucontext_h is similar, but not identical to the one from linux/m68k.
The main differences are that, in the general registers, R_PC/R_PS (i think
that should be the status register?) are reversed, the sigmask is at a
different location (maybe because on linux a complete set it is more than just
a long), and the layout of the floating point register set is different. Would
it be a problem to reorder them? That could make porting some software much
easier. As far as i can tell, although that structure is defined, it is
nowhere used: {get,set,make,swap}context are not implemented, and SA_SIGINFO
isn't either.
|