Re: [PATCH 03/24] target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h'

2023-12-21 Thread Nicholas Piggin
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

Re: [PATCH 03/24] target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h'

2023-12-11 Thread Richard Henderson
On 12/11/23 13:19, 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 definit

Re: [PATCH 03/24] target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h'

2023-12-11 Thread Philippe Mathieu-Daudé
On 11/12/23 22:19, 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 definit

[PATCH 03/24] target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h'

2023-12-11 Thread Philippe Mathieu-Daudé
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_DEFAUL