]> git.proxmox.com Git - mirror_qemu.git/commit
exec: Promote TARGET_PAGE_MASK to target_long
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 15 Oct 2019 18:10:27 +0000 (11:10 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 28 Oct 2019 09:30:21 +0000 (10:30 +0100)
commitf048b8a7cefcabb0e55210a76775f9be57c4d3f4
tree69806f4298dde41d76c92e1cefa1b46d726bd627
parent639044b5f121a44909eca929d7fd6d070024b9f9
exec: Promote TARGET_PAGE_MASK to target_long

There are some uint64_t uses that expect TARGET_PAGE_MASK to
extend for a 32-bit, so this must continue to be a signed type.
Define based on TARGET_PAGE_BITS not TARGET_PAGE_SIZE; this
will make a following patch more clear.

This should not have a functional effect so far.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/exec/cpu-all.h