qemu/target/i386
Xiaoyao Li 46cda5823b target/i386: Define enum X86ASIdx for x86's address spaces
Define X86ASIdx as enum, like ARM's ARMASIdx, so that it's clear index 0
is for memory and index 1 is for SMM.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Tested-By: Kirill Martynov <stdcalllevi@yandex-team.ru>
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Link: https://lore.kernel.org/r/20250730095253.1833411-3-xiaoyao.li@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 591f817d81)
(Mjt: pick this change for completness with the previous one)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2025-09-18 20:23:49 +03:00
..
emulate target/i386/emulate: replace FSF postal address with licenses URL 2025-06-26 00:42:37 +02:00
hvf target/i386: merge host_cpu_instance_init() and host_cpu_max_instance_init() 2025-07-12 15:28:20 +02:00
kvm target/i386: Define enum X86ASIdx for x86's address spaces 2025-09-18 20:23:49 +03:00
nvmm Accelerators patches 2025-07-16 07:13:40 -04:00
tcg target/i386: Define enum X86ASIdx for x86's address spaces 2025-09-18 20:23:49 +03:00
whpx Accelerators patches 2025-07-16 07:13:40 -04:00
arch_dump.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
arch_memory_mapping.c exec/cpu-all: remove system/memory include 2025-04-23 15:04:57 -07:00
confidential-guest.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
confidential-guest.h i386/cgs: Introduce x86_confidential_guest_check_features() 2025-05-28 19:35:55 +02:00
cpu-apic.c include/system: Move exec/address-spaces.h to system/address-spaces.h 2025-04-23 14:08:21 -07:00
cpu-dump.c target/i386: remove CC_OP_CLR 2024-10-31 18:28:33 +01:00
cpu-internal.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
cpu-param.h tcg: Remove the TCG_GUEST_DEFAULT_MO definition globally 2025-04-23 15:07:32 -07:00
cpu-qom.h target: Move ArchCPUClass definition to 'cpu.h' 2023-11-07 13:08:48 +01:00
cpu-system.c qapi: make most CPU commands unconditionally available 2025-05-28 18:55:50 +02:00
cpu.c Revert "i386/cpu: Warn about why CPUID_EXT_PDCM is not available" 2025-08-19 14:05:56 -04:00
cpu.h target/i386: Define enum X86ASIdx for x86's address spaces 2025-09-18 20:23:49 +03:00
gdbstub.c target/i386/gdbstub: Expose orig_ax 2024-10-13 10:05:51 -07:00
helper.c tcg: Define INSN_START_WORDS as constant 3 2025-05-01 07:37:13 -07:00
helper.h target/i386: optimize computation of ZF from CC_OP_DYNAMIC 2024-10-31 18:28:33 +01:00
host-cpu.c i386/cpu: Unify family, model and stepping calculation for x86 CPU 2025-07-12 15:28:21 +02:00
host-cpu.h i386/cpu: Cleanup host_cpu_max_instance_init() 2025-07-17 17:18:59 +02:00
Kconfig i386: select correct components for no-board build 2024-05-10 15:45:15 +02:00
machine.c hw/i386/x86: Remove X86MachineClass::save_tsc_khz field 2025-05-30 09:52:08 +02:00
meson.build target/i386: nvmm, whpx: add accel/CPU class that sets host vendor 2025-07-12 15:28:19 +02:00
monitor.c qapi: remove the misc-target.json file 2025-05-28 18:54:18 +02:00
ops_sse.h target/i386: Use correct type for get_float_exception_flags() values 2025-06-06 14:32:55 +02:00
sev-system-stub.c qapi: make SEV commands unconditionally available 2025-05-28 18:54:16 +02:00
sev.c sev: Provide sev_features flags from IGVM VMSA to KVM_SEV_INIT2 2025-07-12 15:28:21 +02:00
sev.h i386/sev: Add implementation of CGS set_guest_policy() 2025-07-12 15:28:21 +02:00
svm.h target/i386: check intercept for XSETBV 2023-10-17 15:20:53 +02:00
trace-events target/i386/sev: Use size_t for object sizes 2024-06-28 19:26:54 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
xsave_helper.c qemu: Declare all load/store helper in 'qemu/bswap.h' 2025-07-15 02:56:39 -04:00