Months ago I submitted http://openocd.zylin.com/#/c/5324/, and I would like
to get a review of it.
These are simple optimizations that make `-rtos hwthread` much more
responsive by allowing access to specific registers without accessing a
whole slew of registers. Full lists of registers are currently accessed all
the time, because (I think) real RTOSs store them all in memory next to
each other (on the stack?) so it's cheap to access a lot of them. This is
not always true for real hardware. The problem is made worse by the fact
that real hardware has a lot more registers. RTOSs typically only expose
the general purpose and FPU registers.

Anyway, I'd love a review on this, so I can resume the process of pushing
the RISC-V changes upstream. I'm not trying to make target-independent
changes, but sometimes that is just clearly the best choice.

Thank you,
Tim
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to