[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [Qemu-devel] [PATCH 15/19] hw/misc/iotkit-secctl: Arm IoT
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [Qemu-devel] [PATCH 15/19] hw/misc/iotkit-secctl: Arm IoT Kit security controller initial skeleton |
Date: |
Thu, 1 Mar 2018 12:44:05 +0000 |
On 27 February 2018 at 21:44, Richard Henderson
<address@hidden> wrote:
> On 02/20/2018 10:03 AM, Peter Maydell wrote:
>> + r >>= 8 * (addr & 3);
>> + r &= (1 << (size * 8)) - 1;
>
> extract32(r, (addr & 3) * 8, size * 8) ?
Good idea, that's much clearer.
-- PMM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-arm] [Qemu-devel] [PATCH 15/19] hw/misc/iotkit-secctl: Arm IoT Kit security controller initial skeleton,
Peter Maydell <=