x86/shadow: don't open-code SHF_* shorthands
authorJan Beulich <jbeulich@suse.com>
Mon, 12 Apr 2021 10:32:18 +0000 (12:32 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 12 Apr 2021 10:32:18 +0000 (12:32 +0200)
commit099fcfb037477bcc2e8c4c5c8a3c5c54a95e7350
treec6c108fe00e952bc682b59b51aeec8480e1e189d
parentb49f8bda2399002e3cfaa472cc6959ec2ac20526
x86/shadow: don't open-code SHF_* shorthands

Use SHF_L1_ANY, SHF_32, SHF_PAE, as well as SHF_64, and introduce
SHF_FL1_ANY.

Note that in shadow_audit_tables() this has the effect of no longer
(I assume mistakenly, or else I don't see why the respective callback
table entry isn't NULL) excluding SHF_L2H_64.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/mm/shadow/private.h