162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef _ASM_X86_EMULATE_PREFIX_H
362306a36Sopenharmony_ci#define _ASM_X86_EMULATE_PREFIX_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci/*
662306a36Sopenharmony_ci * Virt escape sequences to trigger instruction emulation;
762306a36Sopenharmony_ci * ideally these would decode to 'whole' instruction and not destroy
862306a36Sopenharmony_ci * the instruction stream; sadly this is not true for the 'kvm' one :/
962306a36Sopenharmony_ci */
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#define __XEN_EMULATE_PREFIX  0x0f,0x0b,0x78,0x65,0x6e  /* ud2 ; .ascii "xen" */
1262306a36Sopenharmony_ci#define __KVM_EMULATE_PREFIX  0x0f,0x0b,0x6b,0x76,0x6d	/* ud2 ; .ascii "kvm" */
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci#endif
15