On 3/23/21 5:16 PM, Richard Henderson wrote: > In the next commit we will extract the generic code out of > page-vary.c, only keeping the target specific code. Both > files will use the same TargetPageBits structure, so make > its declaration in a shared header. > > As the common header can not use target specific types, > use a uint64_t to hold the page mask value, and add a > cast back to target_long in the TARGET_PAGE_MASK definitions. > > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> > Message-Id: <20210322112427.4045204-3-f4...@amsat.org> > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > include/exec/cpu-all.h | 11 ++++------- > include/exec/page-vary.h | 29 +++++++++++++++++++++++++++++ > 2 files changed, 33 insertions(+), 7 deletions(-) > create mode 100644 include/exec/page-vary.h
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>