Re: [GXemul-devel] GXemul ARM MSR fsxc patch
Status: Alpha
Brought to you by:
gavare
From: Anders G. <ga...@gm...> - 2012-06-17 19:03:54
|
Tis 2012-06-12 klockan 01:21 +0100 skrev James Peacock: > Hello, Hi James, > I've been using GXemul to help develop a little project of mine and > have noticed that the implementation of ARM MSR failed if the fields > mask included the 's' or 'x' bits. Below is a patch to add basic > support for these variants, which is enough to get code of the form > 'MSR SPSR_fsxc' to run. > > Also, when writing to the CPSR, the mask should be anded with > 0xff000000 if the CPU is not in a privileged mode. I've not included > this in the patch as it would be a much larger change the behaviour > which I don't have the set up to test fully. I applied the patch, and added an additional AND. http://gxemul.svn.sourceforge.net/viewvc/gxemul?view=revision&revision=5800 I have not had time to do any stringent testing. (I tried a NetBSD/cats 5.1.2 install, which hung during disklabel. But I don't know if this was due to the MSR instruction change.) > GXemul has been incredibly useful. Is it still under any form of > active development? Not very active; development is extremely sporadic these days. Anders |