qemu-devel
[Top][All Lists]
Advanced

[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: Chih-Min Chao
Subject: Re: [Qemu-devel] [PATCH 1/2] target-arm : make parameter of feature/status checking function const
Date: Fri, 5 Sep 2014 02:15:44 +0800

Just change what I have used and looked  into.
There are no other special reasons.


On Fri, Sep 5, 2014 at 2:05 AM, Peter Maydell <address@hidden> wrote:
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]