18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _ASM_X86_EMULATE_PREFIX_H 38c2ecf20Sopenharmony_ci#define _ASM_X86_EMULATE_PREFIX_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* 68c2ecf20Sopenharmony_ci * Virt escape sequences to trigger instruction emulation; 78c2ecf20Sopenharmony_ci * ideally these would decode to 'whole' instruction and not destroy 88c2ecf20Sopenharmony_ci * the instruction stream; sadly this is not true for the 'kvm' one :/ 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#define __XEN_EMULATE_PREFIX 0x0f,0x0b,0x78,0x65,0x6e /* ud2 ; .ascii "xen" */ 128c2ecf20Sopenharmony_ci#define __KVM_EMULATE_PREFIX 0x0f,0x0b,0x6b,0x76,0x6d /* ud2 ; .ascii "kvm" */ 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#endif 15