Subject: SETREGS/SETFPREG & extented register sets
To: None <tech-kern@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: tech-kern
Date: 11/19/2000 15:48:11
i386 has MMX
PowerPC has AltiVec
Sparc has VIS
Alpha has CIS
Many/most of these use alternate register sets. Not only does there need to
kernel support for saving/restoiring these on process context switches, we
all need to dump these in core files but make them accessible for debugging.
However it seems that ptrace(2) and /proc don't have any mechanism for
reading these extention registers. It seems wrong to includes GETFPREGS since
that would be an interface change.
Ideas?
--
Matt Thomas Internet: matt@3am-software.com
3am Software Foundry WWW URL: http://www.3am-software.com/bio/matt/
Cupertino, CA Disclaimer: I avow all knowledge of this message