[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] fix LDRB Thumb2 decoding
commit 9963caae97ad140fa207c3c61a9442b417afc1e9 Author: Stefano Stabellini <sstabellini@xxxxxxxxxx> AuthorDate: Tue Dec 13 11:08:39 2016 -0800 Commit: Stefano Stabellini <sstabellini@xxxxxxxxxx> CommitDate: Tue Dec 13 11:16:50 2016 -0800 fix LDRB Thumb2 decoding Rt is four bit at offset 12, not three. See see encoding T2 for LDRB A8.8.70 in ARM DDI 0406C.c Suggested-by: Julien Grall <julien.grall@xxxxxxx> Signed-off-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> Reviewed-by: Julien Grall <julien.grall@xxxxxxx> --- xen/arch/arm/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/decode.c b/xen/arch/arm/decode.c index c6f49a5..514b7a2 100644 --- a/xen/arch/arm/decode.c +++ b/xen/arch/arm/decode.c @@ -41,7 +41,7 @@ static int decode_thumb2(register_t pc, struct hsr_dabt *dabt, uint16_t hw1) if ( raw_copy_from_guest(&hw2, (void *__user)(pc + 2), sizeof (hw2)) ) return -EFAULT; - rt = (hw2 >> 12) & 0x7; + rt = (hw2 >> 12) & 0xf; switch ( (hw1 >> 9) & 0xf ) { -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |