[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 4/4] target-arm: Add CP15 VBAR support
From: |
Sebastian Huber |
Subject: |
Re: [Qemu-devel] [PATCH v1 4/4] target-arm: Add CP15 VBAR support |
Date: |
Tue, 17 Sep 2013 09:43:20 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
On 2013-07-10 06:23, address@hidden wrote:
+static int vbar_write(CPUARMState *env, const ARMCPRegInfo *ri,
+ uint64_t value)
+{
+ value &= (1 << 31);
Is the above correct?
+ env->cp15.c12_vbar = value & ~0x1Ful;
+ return 0;
+}
Shouldn't this be
{
env->cp15.c12_vbar = (uint32_t) (value & ~0x1FUL);
return 0;
}
?
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : address@hidden
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.