tech-kern archive

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

Re: [RFC] Design considerations for XSAVE Extended Area getters/setters




> On May 28, 2019, at 11:16 AM, Michał Górny <mgorny%NetBSD.org@localhost> wrote:
> 
>> We already have very strange ones (XMMREGS and VECREGS). Maybe we should just
>> have one ALLREGS thing (identical to the core note) and then discuss how
>> to properly make that sanely versioned and self describing?
>> 
> 
> That is somewhat the idea of option b., and what Intel&co seem to be
> aiming it.  With the exception of the two old register groups being left
> separate, PT_*XSTATE would cover everything else.

At the very least, the #ifdef around FP regs in the core dump code should probably be made into a proper MD hook in any case, so that the individual platform can decide which and how many of such notes to write out.

-- thorpej



Home | Main Index | Thread Index | Old Index