[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 13/14] target/arm: Export arm_v7m_get_sp_ptr
From: |
Peter Maydell |
Subject: |
Re: [PATCH 13/14] target/arm: Export arm_v7m_get_sp_ptr |
Date: |
Mon, 20 Feb 2023 16:51:12 +0000 |
On Tue, 14 Feb 2023 at 16:32, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> From: David Reiss <dreiss@meta.com>
>
> Allow the function to be used outside of m_helper.c.
> Move to be outside of ifndef CONFIG_USER_ONLY block.
> Rename from get_v7m_sp_ptr.
>
> Signed-off-by: David Reiss <dreiss@meta.com>
> [rth: Split out of a larger patch]
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> target/arm/internals.h | 10 +++++
> target/arm/m_helper.c | 84 +++++++++++++++++++++---------------------
> 2 files changed, 51 insertions(+), 43 deletions(-)
Depending on the ifdeffery in patch 14, if all the callsites
are inside ifndef CONFIG_USER_ONLY then we won't need to
move the function definition. Otherwise:
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- [PATCH 03/14] target/arm: Move arm_gen_dynamic_svereg_xml to gdbstub64.c, (continued)
- [PATCH 03/14] target/arm: Move arm_gen_dynamic_svereg_xml to gdbstub64.c, Richard Henderson, 2023/02/14
- [PATCH 05/14] target/arm: Simplify register counting in arm_gen_dynamic_svereg_xml, Richard Henderson, 2023/02/14
- [PATCH 06/14] target/arm: Hoist pred_width in arm_gen_dynamic_svereg_xml, Richard Henderson, 2023/02/14
- [PATCH 11/14] target/arm: Implement gdbstub pauth extension, Richard Henderson, 2023/02/14
- [PATCH 13/14] target/arm: Export arm_v7m_get_sp_ptr, Richard Henderson, 2023/02/14
- Re: [PATCH 13/14] target/arm: Export arm_v7m_get_sp_ptr,
Peter Maydell <=
- [PATCH 12/14] target/arm: Export arm_v7m_mrs_control, Richard Henderson, 2023/02/14
- [PATCH 08/14] target/arm: Add name argument to output_vector_union_type, Richard Henderson, 2023/02/14
- [PATCH 09/14] target/arm: Simplify iteration over bit widths, Richard Henderson, 2023/02/14
- [PATCH 14/14] target/arm: Support reading m-profile system registers from gdb, Richard Henderson, 2023/02/14