/****************************************************************************** * x86_emulate.c * * Wrapper for generic x86 instruction decoder and emulator. * * Copyright (c) 2008, Citrix Systems, Inc. * * Authors: * Keir Fraser */ #include #include /* mark_regs_dirty() */ #include /* current_cpu_info */ #include /* cpu_has_amd_erratum() */ /* Avoid namespace pollution. */ #undef cmpxchg #undef cpuid #define cpu_has_amd_erratum(nr) \ cpu_has_amd_erratum(¤t_cpu_data, AMD_ERRATUM_##nr) #include "x86_emulate/x86_emulate.c"