Home
last modified time | relevance | path

Searched hist:"5860362 d25f3afa99364d60295c09147a07055f1" (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/target/arm/
H A Dgdbstub.cdiff 5860362d25f3afa99364d60295c09147a07055f1 Sun May 01 00:49:53 CDT 2022 Richard Henderson <richard.henderson@linaro.org> target/arm: Store cpregs key in the hash table directly

Cast the uint32_t key into a gpointer directly, which
allows us to avoid allocating storage for each key.

Use g_hash_table_lookup when we already have a gpointer
(e.g. for callbacks like count_cpreg), or when using
get_arm_cp_reginfo would require casting away const.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20220501055028.646596-12-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
H A Dcpu.cdiff 5860362d25f3afa99364d60295c09147a07055f1 Sun May 01 00:49:53 CDT 2022 Richard Henderson <richard.henderson@linaro.org> target/arm: Store cpregs key in the hash table directly

Cast the uint32_t key into a gpointer directly, which
allows us to avoid allocating storage for each key.

Use g_hash_table_lookup when we already have a gpointer
(e.g. for callbacks like count_cpreg), or when using
get_arm_cp_reginfo would require casting away const.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20220501055028.646596-12-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
H A Dhelper.cdiff 5860362d25f3afa99364d60295c09147a07055f1 Sun May 01 00:49:53 CDT 2022 Richard Henderson <richard.henderson@linaro.org> target/arm: Store cpregs key in the hash table directly

Cast the uint32_t key into a gpointer directly, which
allows us to avoid allocating storage for each key.

Use g_hash_table_lookup when we already have a gpointer
(e.g. for callbacks like count_cpreg), or when using
get_arm_cp_reginfo would require casting away const.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20220501055028.646596-12-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>