[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] ARM (Thumb) read from R15
From: |
Ulrich Hecht |
Subject: |
Re: [Qemu-devel] [PATCH] ARM (Thumb) read from R15 |
Date: |
Mon, 2 Jul 2007 13:12:39 +0200 |
User-agent: |
KMail/1.9.5 |
On Saturday 30 June 2007 04:19, Paul Brook wrote:
> > QEMU does not set the Thumb bit when reading from R15 in Thumb mode.
>
> Neither does real hardware.
You are, unsurprisingly, right. The problem seems to be a different one.
Quoting the ARM on "pop pc":
"In ARM architecture 5 and above, bit[0] of the loaded value determines
whether execution continues after this branch in ARM state or in Thumb
state[...] In T variants of architecture version 4, bit[0] of the loaded
value is ignored and execution continues in Thumb state[...]"
My code is supposed to run on a 4T. I guess I'll have to implement an
ARM_FEATURE_THUMB1.
CU
Uli
--
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
- Re: [Qemu-devel] [PATCH] ARM (Thumb) read from R15,
Ulrich Hecht <=