On 13 December 2011 17:44, Alex Rozenman <alex_rozen...@mentor.com> wrote: > Please review / discuss / push the attched patch. It adds initial support > for V6-M for ARM and Cortex-M0.
Please don't submit patches as attachments (see http://wiki.qemu.org/Contribute/SubmitAPatch for other guidelines). This patch is pretty obviously missing a lot. It makes a start on the instruction level differences, but v6M also has significant differences in the memory mapped system registers, NVIC, etc, which this patch doesn't try to deal with at all. There are also CPU model differences like a smaller set of supported MRS/MSR system registers, the M0 having no user/privileged distinction, etc. The v6M Architecture Reference Manual has an appendix on the v6M-to-v7M differences, which is probably worth working through. -- PMM