]> git.proxmox.com Git - mirror_qemu.git/commit - include/exec/page-vary.h
exec: Extract 'page-vary.h' header
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 22 Mar 2021 11:24:25 +0000 (12:24 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 24 Mar 2021 01:36:36 +0000 (19:36 -0600)
commit27eb9d65ff5121ed11979dd57d9ec2b6c2315c01
treec7f96b11ac0170f1a62d3389c7dee6810e3ceec3
parent6670d4d0e38249323df755a92ffdf04f2c6b7894
exec: Extract 'page-vary.h' header

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é <f4bug@amsat.org>
Message-Id: <20210322112427.4045204-3-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/exec/cpu-all.h
include/exec/page-vary.h [new file with mode: 0644]