]> xenbits.xensource.com Git - xen.git/commit
x86: Rename struct cpuid_policy to struct cpu_policy
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 28 Mar 2023 17:55:19 +0000 (18:55 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 3 Aug 2023 18:14:19 +0000 (19:14 +0100)
commit2e54fb9fec5a73e3dd47801eff37f91c23e94b64
tree14a09b536c5d944ea4ab234145e68616865281b3
parent3747c51a6803693a338999080b5bbda6a69ff2d3
x86: Rename struct cpuid_policy to struct cpu_policy

Also merge lib/x86/cpuid.h entirely into lib/x86/cpu-policy.h

Use a temporary define to make struct cpuid_policy still work.

There's one forward declaration of struct cpuid_policy in
tools/tests/x86_emulator/x86-emulate.h that isn't covered by the define, and
it's easier to rename that now than to rearrange the includes.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
(cherry picked from commit 743e530380a007774017df9dc2d8cb0659040ee3)
tools/fuzz/cpu-policy/afl-policy-fuzzer.c
tools/fuzz/x86_instruction_emulator/Makefile
tools/tests/x86_emulator/Makefile
tools/tests/x86_emulator/x86-emulate.h
xen/arch/x86/x86_emulate/x86_emulate.h
xen/include/asm-x86/cpuid.h
xen/include/xen/lib/x86/cpu-policy.h
xen/include/xen/lib/x86/cpuid.h [deleted file]
xen/lib/x86/cpuid.c