aboutsummaryrefslogtreecommitdiff
path: root/host/include/x86_64
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-05-17 21:12:08 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-05-23 16:49:28 -0700
commit6bc12fd04243a5bfe28bc5d6ed8b0a7ed40f5de4 (patch)
treecdeb19ccff9869710f4eaa1dece99a493c34e44f /host/include/x86_64
parent44fc71687377bfcdfffa448bb41d228ef3caf46c (diff)
util: Add cpuinfo-i386.c
Add cpuinfo.h for i386 and x86_64, and the initialization for that in util/. Populate that with a slightly altered copy of the tcg host probing code. Other uses of cpuid.h will be adjusted one patch at a time. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'host/include/x86_64')
-rw-r--r--host/include/x86_64/host/cpuinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/include/x86_64/host/cpuinfo.h b/host/include/x86_64/host/cpuinfo.h
new file mode 100644
index 0000000000..67debab9a0
--- /dev/null
+++ b/host/include/x86_64/host/cpuinfo.h
@@ -0,0 +1 @@
+#include "host/include/i386/host/cpuinfo.h"