Received: from eggs.gnu.org ([140.186.70.92]:55060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RalZ3-0006AA-Ie for qemu-devel@nongnu.org; Wed, 14 Dec 2011 04:55:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RalZ1-0006Vp-PT for qemu-devel@nongnu.org; Wed, 14 Dec 2011 04:55:53 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:44660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RalZ1-0006VN-6o for qemu-devel@nongnu.org; Wed, 14 Dec 2011 04:55:51 -0500 From: Alex Rozenman In-Reply-To: References: <1323798248.18910.3.camel@petersburg> Content-Type: text/plain; charset="UTF-8" Date: Wed, 14 Dec 2011 11:55:45 +0200 Message-ID: <1323856545.18910.18.camel@petersburg> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] Initial support for ARM V6-M List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel , Paul Brook Hi Peter, Thank you for your comments. I'll submit a new patch. I am aware about architertural differences b/w v6m and v7m, but many of them is less relevant for the existing QEMU code (pririty bits for example). Alex On Tue, 2011-12-13 at 18:05 +0000, Peter Maydell wrote: > On 13 December 2011 17:44, Alex Rozenman 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