|
From: | Richard Henderson |
Subject: | Re: [PATCH v4 4/4] target/riscv: Force disable extensions if priv spec version does not match |
Date: | Thu, 9 Jun 2022 06:58:28 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
On 6/8/22 20:16, Anup Patel wrote:
On Wed, Jun 8, 2022 at 10:23 PM Richard Henderson <richard.henderson@linaro.org> wrote:On 6/8/22 09:14, Anup Patel wrote:+ struct isa_ext_data isa_edata_arr[] = {static const?Using const is fine but we can't use "static const" because the "struct isa_ext_data" has a pointer to ext_xyz which is different for each CPU.
Ah, I see. Perhaps better to use offsetof then -- the data structure is not small... r~
[Prev in Thread] | Current Thread | [Next in Thread] |