[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] sigcontext



Hi,

When browsing the kernel sources + mintlib, my impression is that struct sigcontext only contains PC, SR and USP (or something like that), and not the full context. When looking at other implementations, it seems this structure generally holds a fairly complete (complete?) context, allowing for some nifty user-mode context switching within applications (which means cleaner code instead of having to resort to the usual ugliness).

1. Is it a good idea to make this structure complete?
2. Would anyone mind if I attempted this (added context info to the kernel side, and completing the sigcontext struct in mint lib)

-- PeP