Re: [PATCH 1/3] cpu-target: Include missing 'exec/memory.h' header

2024-02-09 Thread Philippe Mathieu-Daudé
On 9/2/24 17:01, Peter Maydell wrote: On Fri, 9 Feb 2024 at 15:01, Philippe Mathieu-Daudé wrote: Include "exec/memory.h" in order to avoid: cpu-target.c:201:50: error: use of undeclared identifier 'TYPE_MEMORY_REGION' DEFINE_PROP_LINK("memory", CPUState, memory, TYPE_MEMORY_REGION,

Re: [PATCH 1/3] cpu-target: Include missing 'exec/memory.h' header

2024-02-09 Thread Peter Maydell
On Fri, 9 Feb 2024 at 15:01, Philippe Mathieu-Daudé wrote: > > Include "exec/memory.h" in order to avoid: > > cpu-target.c:201:50: error: use of undeclared identifier > 'TYPE_MEMORY_REGION' > DEFINE_PROP_LINK("memory", CPUState, memory, TYPE_MEMORY_REGION, >

[PATCH 1/3] cpu-target: Include missing 'exec/memory.h' header

2024-02-09 Thread Philippe Mathieu-Daudé
Include "exec/memory.h" in order to avoid: cpu-target.c:201:50: error: use of undeclared identifier 'TYPE_MEMORY_REGION' DEFINE_PROP_LINK("memory", CPUState, memory, TYPE_MEMORY_REGION, ^ Signed-off-by: Philippe Mathieu-Daudé --- cpu-ta