> On 21 Jun 2015, at 23:58, Peter Maydell <peter.mayd...@linaro.org> wrote: > > There's lots of code that will run on QEMU but break on > real hardware.
no doubt about it. however, this shouldn't be the rule, if the efforts are reasonable, I see no reasons for not improving the emulation quality and make code that breaks on real hardware break on qemu too. >> I cannot confirm (because it was quite a while ago when I had to >> deal with these issues) that it is possible to write code that works >> an all versions without checking the actual version and acting >> differently. > > It should be -- just write to the architecture's specifications, > not to the variations between specific revisions. I'll investigate when these details will become relevant, probably when my branch will be ready for running some RTOS tests. regards, Liviu