[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 09/10] sm501: Add some more missing registers
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 09/10] sm501: Add some more missing registers |
Date: |
Fri, 24 Feb 2017 14:54:36 +0000 |
On 19 February 2017 at 16:35, BALATON Zoltan <address@hidden> wrote:
> Write only to allow clients to initialise these without failing
>
> Signed-off-by: BALATON Zoltan <address@hidden>
What's the point in write-only register values?
What does the real hardware do here?
If the registers are writes-ignored, there's no need to store
the data written into the state struct; if the registers are
reads-as-written then implement them that way.
(If they get state struct fields the vmstate needs to be
updated accordingly, as does reset.)
thanks
-- PMM
[Qemu-devel] [PATCH 03/10] sm501: QOMify, BALATON Zoltan, 2017/02/19
[Qemu-devel] [PATCH 02/10] sm501: Use defines instead of constants where available, BALATON Zoltan, 2017/02/19