Le Thu, 26 Apr 2012 20:13:08 +1000, Greg Ungerer <gerg@snapgear.com> a écrit :
I haven't posted it anywhere else because it's a hack to workaround a Qemu problem: the 5208 apparently has support for separate supervisor and userspace stack pointers (through two different registers), but Qemu doesn't emulate that. So I think it's a flaw in Qemu emulation rather than a kernel problem, but it was easier for now to workaround it by just adding one "select COLDFIRE_SW_A7".
Ah, ok. I only put the dual stack pointer support in a year or 2 back. And it is only supported on the more modern ColdFire's, guess the QEMU support is for the simpler parts :-)
Well, either Qemu pretends to emulate a 5208 and it should support the dual stack pointer thing, or it shouldn't pretend to emulate a 5208. Am I correct in my understanding is that the 5208 hardware does support dual stack pointers? Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com