[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 03/24] target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h'
From: |
Nicholas Piggin |
Subject: |
Re: [PATCH 03/24] target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h' |
Date: |
Fri, 22 Dec 2023 14:36:57 +1000 |
On Tue Dec 12, 2023 at 7:19 AM AEST, Philippe Mathieu-Daudé wrote:
> accel/tcg/ files requires the following definitions:
>
> - TARGET_LONG_BITS
> - TARGET_PAGE_BITS
> - TARGET_PHYS_ADDR_SPACE_BITS
> - TCG_GUEST_DEFAULT_MO
>
> The first 3 are defined in "cpu-param.h". The last one
> in "cpu.h", with a bunch of definitions irrelevant for
> TCG. By moving the TCG_GUEST_DEFAULT_MO definition to
> "cpu-param.h", we can simplify various accel/tcg includes.
Acked-by: Nicholas Piggin <npiggin@gmail.com> (ppc)
Thanks,
Nick
- [PATCH 00/24] exec: Rework of various headers (user focused), Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 01/24] exec: Include 'cpu.h' before validating CPUArchState placement, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 02/24] exec: Expose 'target_page.h' API to user emulation, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 03/24] target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h', Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 04/24] accel: Include missing 'exec/cpu_ldst.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 05/24] semihosting/uaccess: Avoid including 'cpu.h', Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 06/24] semihosting/guestfd: Remove unused 'semihosting/uaccess.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 07/24] host/load-extract: Include missing 'qemu/atomic.h' and 'qemu/int128.h', Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 08/24] host/atomic128: Include missing 'qemu/atomic.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 09/24] hw/ppc/spapr_hcall: Remove unused 'exec/exec-all.h' included header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 10/24] hw/misc/mips_itu: Remove unnecessary 'exec/exec-all.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 11/24] hw/s390x/ipl: Remove unused 'exec/exec-all.h' included header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 12/24] target/i386: Include missing 'exec/exec-all.h' header, Philippe Mathieu-Daudé, 2023/12/11