qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH-for-9.1 18/21] target/xtensa: Extract MMU API to new mmu.c/mm


From: Max Filippov
Subject: Re: [PATCH-for-9.1 18/21] target/xtensa: Extract MMU API to new mmu.c/mmu.h files
Date: Sat, 23 Mar 2024 12:23:27 -0700

On Thu, Mar 21, 2024 at 8:50 AM Philippe Mathieu-Daudé
<philmd@linaro.org> wrote:
>
> Extract the MMU API and expose it via "mmu.h" so we can
> reuse the methods in target/xtensa/ files.

The MMU/MPU are replaceable configuration blocks in the xtensa
architecture, their internals don't have architecture-wide significance
and I believe their exposure should be kept to a minimum.
I have a half-done xtensa MMU rework which I'd like to complete,
it only exposes the interface for address translation, opcode translation
and dumping.

> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>  target/xtensa/cpu.h        |  32 +-
>  target/xtensa/mmu.h        |  95 ++++
>  target/xtensa/mmu.c        | 889 ++++++++++++++++++++++++++++++++++++
>  target/xtensa/mmu_helper.c | 892 +------------------------------------
>  target/xtensa/meson.build  |   1 +
>  5 files changed, 991 insertions(+), 918 deletions(-)
>  create mode 100644 target/xtensa/mmu.h
>  create mode 100644 target/xtensa/mmu.c

-- 
Thanks.
-- Max



reply via email to

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