libx86: Introduce lib/x86/cpuid.h
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 28 Jun 2018 11:00:44 +0000 (11:00 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 19 Jul 2018 18:31:31 +0000 (19:31 +0100)
commit0e96f3d52ec200b8f7764164e22d76eef6151f59
treee56b00783f0718f88cbe6adf3a5a032e9fcd0831
parent3cdac2805692c7accde2f405d81cc0be799aee48
libx86: Introduce lib/x86/cpuid.h

Begin to untangle the header dependency tangle by moving definition of
struct cpuid_leaf out of x86_emulate.h into the new cpuid.h.

Additionally, plumb the header through to libxc.  This is technically a
redundant include at this point, but it helps build-test the later changes,
and will be used eventually.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
tools/include/Makefile
tools/libxc/xc_cpuid_x86.c
xen/arch/x86/x86_emulate/x86_emulate.h
xen/include/asm-x86/cpuid.h
xen/include/xen/lib/x86/cpuid.h [new file with mode: 0644]