> Is anyone else interested in having the 64-bit kernel *not* use the CP0 > watchpoint registers for storing the kernel stack pointer for the CPU's > current process? > > I have a couple problems with this: > - there are read-only bits in watchhi (according to the MIPS64 spec) so > hoping to save and restore all high 32 bits (as currently coded) seems > unjustified. > - somebody might want to actually *use* watchpoints (a JTAG debugger, > in my case) For whatever it's worth, I've always maintained that stealing the Watchpoint registers in this way was a pretty questionable hack to be avoided. Watchpoint registers are *optional* in MIPS64 and may not even exist. And yes, someone might want to use them for their intended purpose some day. However, please note that the EJTAG breakpoint registers are completely orthogonal to the watchpoint registers. Regards, Kevin K.