{"push_id":546098790,"size":2,"distinct_size":2,"ref":"refs/heads/abtsys","head":"16bbf34fc2be1bd107b8a1023a5abd760337d3a1","before":"c310488876ea8722c55bd6c4f8d0621dcc8e2a8a","commits":[{"sha":"e872d9652546d95c935f2b3970b10a096cc3b657","author":{"email":"02e0a999c50b1f88df7a8f5a04e1b76b35ea6a88@fubar.geek.nz","name":"Andrew Turner"},"message":"Add support for handling the VFP context\n\nWe restore the context in a userland VFP exception, i.e. when userland\nattempts to access the VFP registers or floating-point special registers.\nAt the same time we keep a record of the last CPU we ran the thread ran\nthe VFP context on and the last VFP context we ran on the current cpu.\nIf these line up we can skip restoring the context as it will sill be\nvalid.\n\nWe store the context on context switches. To be lazy we check if the\nVFP is enabled before doing this, and if not can skip it as this means\nthe thread hasn't used the unit. If it had we would have enabled the\nVFP for the access.\n\nWe also store the VFP context around signals. To store it we need to\nmake sure the current thread has a valid context, then copy it to\nthe mcontext_t. On the return from a signal handler we then restore\nthe old context from the mcontext_t.","distinct":true,"url":"https://api.github.com/repos/FreeBSDFoundation/freebsd/commits/e872d9652546d95c935f2b3970b10a096cc3b657"},{"sha":"16bbf34fc2be1bd107b8a1023a5abd760337d3a1","author":{"email":"02e0a999c50b1f88df7a8f5a04e1b76b35ea6a88@fubar.geek.nz","name":"Andrew Turner"},"message":"Enable INVARIANTS","distinct":true,"url":"https://api.github.com/repos/FreeBSDFoundation/freebsd/commits/16bbf34fc2be1bd107b8a1023a5abd760337d3a1"}]}