[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] target-arm : make parameter of feature/stat
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] target-arm : make parameter of feature/status checking function const |
Date: |
Thu, 4 Sep 2014 19:05:34 +0100 |
On 4 September 2014 19:01, Chih-Min Chao <address@hidden> wrote:
> CPUARMState is one of parameter used by
> is_a64
> arm_feature
> arm_el_is_aa64
> They only read it without any side effect and shold be changed to
> const parameter
I guess, but we have lots of functions that just pass
around CPUARMState without it being const even if they
don't actually modify it; why change these ones in
particular?
thanks
-- PMM