On Sat, Aug 29, 2015 at 3:08 AM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 29 August 2015 at 11:06, Peter Crosthwaite > <crosthwaitepe...@gmail.com> wrote: >> Hi Peter, >> >> This removes the last of the hw_errors from target-arm. > > Hi; can you remind me what the reason was for wanting > to remove them? >
So hw_error is depracated in it's own right so I was thinking it stands alone. But the idea that actually prompted it was I was looking at arch-obj undef symbols from the multi-arch compile to see how much these TCG modules depend on core code for linkage. The idea was to minimise core-code linkage deps of the modules, so a TCG translator could be linked to something that is not QEMU. This is ambitious and I have since shelved the idea as it is a huge project. But once you accept glib and the QOM core need to come with, it is a half sane list of APIs you need to implement to link TCG to something new. hw_error() stuck out like a sore thumb as a core-defined symbol I could get rid of from target-arm arch-obj and reduce that API by one symbol. Regards, Peter > thanks > -- PMM