[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/8] x86emul: split off opcode 0f01 handling
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Date: Tue, 28 Mar 2023 16:57:15 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Ec8uG0wR72qhpTCf5BPrVMWzBpC9XXsWBL5rGI8uzjQ=; b=mJybmRl7VLPJsW0zmqHLJVxzZStUZoBw5CZbdfrc03cgcMYesEK/GherBqFm3YpDsP99PqIGZYFl5D10RFfQ2ScVNAm3KxBGQT082Kbv5lvB6Q/p8+UlQAtWmsDIkEXK8aCYW9ckBlXNOrYtZyktqojbUSE3ogkwwo/KKENbgVSJdS4XjB7UKzMceQWFMkFe8upVioCB+bgH9v8oliDs3W3LNaPM7qQpj0+PKfxRSbGHHNlXwC6IRBY/zXPdvy7s0tYdWZN2uLfIuudQ4sZXy6L055X28FPM9K5z1PzTSiBwCCuYy4GFp4xG1c0CJR7DTrWBEHda7C3mM2DzrZXIhg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NNgeFSVfTlIcV4D8MQuaq+dHnQ070Nly8MnxbBZncNxcPYfNjJQCCj9AFThQ/mGdBWznVqK0hfFmaegTQqOu96+QSTvGsrc5G1D7iurjzlcrkzyjL1pBzs3AWRrVnSx58N9HSVoKztJ2sku0f/rjbpYWnT2QcPDemPRIACvQd5ByuQCIOwKpgenP94E7lnWJpsT0gr8b2quzFf0I//nxhFSIYxfDCp6bfbneuIE02iY5yzfyAaiWAVy2Av1tO9rCNM3r2YvKr0mzeDNHXT6Kl3xgx3Gl0LZHRw3fo1HxqiAxZ5zEzawsVIHwrAvkIadgvBkmn+fqm7MUNzz0Akru7w==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
- Delivery-date: Tue, 28 Mar 2023 14:57:48 +0000
- Ironport-data: A9a23:Xze2R60LlPzOZITcL/bD5fRwkn2cJEfYwER7XKvMYLTBsI5bp2FSn WcaDz+POvrYNGf8LdwiboixpEoE7MfUzdQwT1FkpC1hF35El5HIVI+TRqvS04F+DeWYFR46s J9OAjXkBJppJpMJjk71atANlVEliefTAOK6ULWeUsxIbVcMYD87jh5+kPIOjIdtgNyoayuAo tq3qMDEULOf82cc3lk8tuTS+HuDgNyo4GlD5gdkNagR1LPjvyJ94Kw3dPnZw0TQGuG4LsbiL 87fwbew+H/u/htFIrtJRZ6iLyXm6paLVeS/oiI+t5qK23CulQRrukoPD9IOaF8/ttm8t4sZJ OOhF3CHYVxB0qXkwIzxWvTDes10FfUuFLTveRBTvSEPpqFvnrSFL/hGVSkL0YMkFulfEXpM0 vw3D282awHch72m8qO/Sch2v5F2RCXrFNt3VnBI6xj8VKxjZK+ZBqLA6JlfwSs6gd1IEbDGf c0FZDFzbRPGJRpSJlMQD5F4l+Ct7pX9W2QA9BTJ+uxpvS6PkGSd05C0WDbRUsaNSshP2F6Ru 0rN/njjAwFcP9uaodaA2iv03bWfwXyrCer+EpWg9aNymWCv1lZJDQcQURikjtW+sECXDoc3x 0s8v3BGQbIJ3E6hQ8T5Xha4iGWZpRNaUN1Ve8Uq5QfIxqfK7gKxAmkfUiUHeNEgrNUxRzEhy hmOhdyBLSNrmK2YTzSa7Lj8kN+pES0cLGtHYDBeSwIAuoPnuNtr0k6JSct/GqmoiNGzASv33 z2BsCk5gfMUkNIP0KK4u1vAhlpAu6T0c+L83S2PNkrN0++zTNTNi1CAgbQD0ct9EQ==
- Ironport-hdrordr: A9a23:LM8YD6DDTgOV8AHlHemo55DYdb4zR+YMi2TDgXoBLSC9E/b5qy nApp8mPHPP4gr5O0tApTnjAsa9qCjnhPtICOAqVN+ftW/d1VdAR7sN0WKN+VHd84KVzJ876U /NGZIOa+EZrDJB/KTH3DU=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Wed, Jun 15, 2022 at 11:58:46AM +0200, Jan Beulich wrote:
> --- /dev/null
> +++ b/xen/arch/x86/x86_emulate/private.h
> @@ -0,0 +1,531 @@
> +/******************************************************************************
> + * private.h - interface between x86_emulate.c and its helpers
> + *
> + * Copyright (c) 2005-2007 Keir Fraser
> + * Copyright (c) 2005-2007 XenSource Inc.
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License as published by
> + * the Free Software Foundation; either version 2 of the License, or
> + * (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License
> + * along with this program; If not, see <http://www.gnu.org/licenses/>.
> + */
> +
> +#ifdef __XEN__
> +
> +# include <xen/kernel.h>
> +# include <asm/msr-index.h>
> +# include <asm/x86_emulate.h>
> +
> +# ifndef CONFIG_HVM
> +# define X86EMUL_NO_FPU
> +# define X86EMUL_NO_MMX
> +# define X86EMUL_NO_SIMD
> +# endif
> +
> +#else /* !__XEN__ */
> +# include "x86-emulate.h"
> +#endif
> +
> +#ifdef __i386__
Do we ever build this code in 32bit mode?
Thanks, Roger.
|